Hello, I’m somewhat new to scripting and I’m using the local player’s mouse and “TargetSurface” to detect what SIDE of a part I am clicking, and when I print said side, I see it in the output as Front, Back, Right, ect ect. But how can I use TargetSurface to run a function that happens when I click the front, like lets say I click the front and a part turns red, i click the top and a part turns black, that kind of thing. Does anybody know how I can just catch and use a part’s side via TargetSurface?
If you took the time to read this and even care to the slightest, thank you for your time and any help means the world to me.