I have a door system and I was originally gonna try having it contained in 1 script and seperate it using IsClient and IsServer but that turned out to be impossible. So now I am splitting it up, but I am not sure if I should check the Touched event from the client or server. If I did from client and then used RemoteEvent to tell server then there’s a possibility exploiters could abuse this system. If I did server then there’s a delay (it’s not instant teleport)
3 Likes
Handling teleporting through the client doesnt and wouldnt affect it at all. So, you can handle this through the client.
I need both the server and client to know when a doors been touched tho. So I was gonna handle Touched event on one side, then remote event to the other. Because of how doors are organised, I have to add them all to a collectionservice, and having the same code in 2 modules is redundant
Well, since the client has no delay, I recommend using the client and the server can do any security checks needed.
1 Like