How do you add and AntiSpeed hack or AntiExploit?
Exploit:
workspace.FilteringEnabled = true workspace.Changed:connect(function () workspace.FilteringEnabled = true end)
SpeedHack:
local Player = game.Players.LocalPlayer while wait(0.5) do if Workspace:GetRealPhysicsFPS() > 61 then Player:Kick() end end
My question is, are they working? Are they in correct format? Is it Valid? Is normal FPS REALLY 60? Am I missing something? Also, I don't have a hacking thing so... I wouldn't know. So basically i'm asking, does this look good and it works. No bugs will happen or anything? Nothing is wrong?
I've found an article related to your exploit question, which uses FilteringEnabled (from what I know, it basically prevents clients from allowing changes to the server)
As for GetRealPhysicsFPS, that should work under most circumstances when players attempt to speedhack. It should be done in a local script to get the client's FPS time. As an anti-speed hack, it should be set to ~60, as some computers allow ROBLOX to run at 60 FPS rather than the common 30 FPS.
My answer to you is yes, those should be able to stop exploits/speedhacks to a certain extent. However, when your place uses FilteringEnabled, there will need to be a lot of changes if you require the client to send instructions to the server.
I've found good anti-hack scripts have things that have loops and look for things with keywords like "bug" "virus" and "duplicate" in the Lighting and Workspace folders. I hope I helped