FPS anti exploits?

Hi, I’m currently working on a PvP shooter game. My problem is that it’s extremely vulnerable to simple exploits. When you shoot someone, it generates a ray and checks if you hit someone, then sends hit to the server in a RemoteEvent. I tried having the server make it’s own validation ray from the shooter to the victim, but the delay is too long and it would fail 80% of the time. How do games like Phantom Forces solve this?

Please do not abuse the forum categories. Pick the one that fits your post. Studio Bugs is the category where you would post Studio bug reports.

Every category has a pinned “About …” post that you can consult to find out where you should / shouldn’t post, and you can ask us at @Community_Sage if you really can’t find out even after reading those posts.

Review the forum rules here: