If so, how? If you could help that'd be wonderful.
No, but you could insert in a ClickDetector which would work just as well. Lets say that the part the SurfaceGui is adorned to is the scripts parent:
1 | local Obj = script.Parent |
2 | local Clicker = Instance.new( "ClickDetector" ) |
3 | Clicker.MaxActivationDistance = 1 / 0 |
4 | Clicker.Parent = Obj |
5 |
6 | Clicker.MouseClick:connect( function (Player) |
7 | --What you want to happen here |
8 | end ) |
This would put the ClickDetector in the part that the SurfaceGui is adorned to, then you can put what you want to happen where I put the comment.