Touched Event Hack

Hello! I am currently working on a project where there are multiple items on the ground that have Touched events detecting when a player collects the item. This is all handled on the server. However, a player is able to set the local position of the items to their position and this causes them to instantly collect the item even though the event is all on the server and the object is not moved on the server. How do I fix this issue?

I ended up using :GetPartsInPart() and it works well and resolves the issue

Alternatively you can use touched and just run sanity checks on the server, touched is run completely on the client, so just see if the players and the items server distance is far and don’t allow for pick up

1 Like

Okay, thank you I may try that if I have issues with :GetPartsInPart()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.