What is a way to detect touch on the server that cannot be exploited like the current .touched event that can be deleted or seen by an exploiter? I’m developing a glass bridge type of game (i know its soo original), but exploiters can see and also delete the touch transmitter/interest and just walk on the part so I’m looking for an alternative that is the same in the performant side of things. If you have any module or something like that please reply it below. Thanks!
You can try
workspace:GetPartsInPart(part)
Or
Part:GetTouchingParts()
Then go through them with a for loop and see if it’s a player that touched
Note: I typed on phone so code may be inaccurate
Also make sure to mark as solution in case someone else has this problem (if it helped)
If you want to go to the extreme you can use this
not sure if it works best for hackers but worth a shot
Touch interests can be removed on client but will not affect server scripts when deleted. Exploiters can always modify client scripts anyways so if you are using a client script that is a bad idea.
Just add .Touched functions to all of the parts that don’t need touch functions. (There may be a better way to do this but I’m not sure how)
Just cause an exploiter deletes something on the client side doesn’t break the server. Sounds like you have poor practices.