

Player.Character:SetPrimaryPartCFrame(CFrame.new(pos1)) Local pos2 = Vector3.new(.Position.X,0.Position.Z) Here’s an example: local pos1 = Vector3.new(.Position.X,0.Position.Z)

Then you might be asking, How will you detect distance (speed, fly, teleport) exploits or any exploit… that’s easy all you need to do is check with Magnitude you can check for speed exploits you can check If the Magnitude Is higher then then players walkspeed+ the threshold should normally be 3 or 5 without a threshold you will automatically get detected Just for walking! When creating a serversided anti exploit you CANT Do your normal checks of Humanoid.WalkSpeed or Humanoid.JumpPower or even Humanoid.Health Therefore you should NEVER trust the client, If you’re gonna make an anti exploit make sure its always Serversided This Is because they can: Spoof your checks, disable/delete the anti cheat, Just ignore it in usual. If indexed = "Humanoid" and property = "WalkSpeed" then Here Is a quick code an exploiter can type in seconds to bypass your Humanoid.WalkSpeed Check. Why should I not trust the client? - This Is because exploiters have FULL Control about there client so they can spoof there speed, JumpPower, health, etc. We want to stop them from doing doing the 2th, 3th step but sadly we cannot detect them “Attaching executors” but we can detect Executing scripts by detecting changes, comparing normal movement to there movement, more! lets go to our second section…

Many people ask! How do I make an advanced anti exploit?
