Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Could a local script detect if a part touched something?

Hello, thanks for your coming. My question is could a local script detect if a part touched something in the map or I have to use a remote event in order to do that?

1 answer

✓ Accepted answer

Local scripts cannot understand touched events. This is because anyone can touch the part, not just the local player. However, for example, in guis, since they get replicated to the player's PlayerGui, ONLY the local player can use the gui replicated to them. Hence, the best way to do this is a RemoteEvent

This discussion is preserved as it was. New answers, comments, and votes are closed.