Touched event on server side

How touch events works? I placed part in workspace then I i started game and deleted this part on client side so on server side was still exist, SCript for touch event exist in serverscriptstorage, but when other part touches part which i removed on client side touched event do not even start. So all touched events works on clients even they are scripted in server scripts?

1 Like

If the touched event is made on the server-side then it will work for all players. But, if you delete it on the client-side it won’t work for that player. The rest of the players will still be able to touch the part though.

1 Like

Is it possible to make touch event will start on server side even if client remove
the part?

1 Like

Whenever someone touches something, their computer is the one that tells the server that they touched that thing. The server doesn’t check on it’s own, so if the part doesn’t exist for the player, then the server will never know when they touch it.

However, this only happens with the .Touched event. You can use something like workspace:GetPartsInPart instead, which does not have this issue.

1 Like

unfortunately another issue is with GetPartsInPart that it only shows groups colliding with Default group

OverlapParams.CollisionGroup?