Yes they work on the server and the client just as fine.
I remember that I have tried to use Touched events in local scripts in the past, it did not really work for me, maybe I have done it incorrectly. But that’s what I remember
I can confirm that @Amiaa16’s method has indeed worked. I had completely forgotten that you could just handle it inside the local script itself! Well, I now know not to make that mistake again.
Thanks guys for the help.
Have a good day.
Yes local scripts work on the Client, but not directly on the server, for example using a local script to detect a .Touched Event will not work if parented directly to a Part, but a Server Script parented to the Part to detect the .Touched Event will work fine.
Code in Local Scripts works only when they are located in :
1 Like