Hi, My name is DarkMenacing. I wanted to make a anticheat server-sided so i made this simple one:
local admins = {
require(script.Parent.Settings).Ranks
}
local Player = game:GetService("Players")
Player.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
chr.Humanoid.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.StrafingNoPhysics and not table.find(admins, plr.UserId) then
plr:Kick("Anti Cheat: Noclip Detected")
end
end)
end)
end)
I made only for noclip but i dont know one for anti fly
if you know how, please tell in the comments!
Player.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
chr.Humanoid.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.PlatformStanding and not table.find(admins, plr.UserId) then
plr:Kick("Cheat Detected: Noclip Detected")
elseif new == Enum.HumanoidStateType.StrafingNoPhysics and not table.find(admins, plr.UserId) then
plr:Kick("Cheat Detected: Flying.")
end
end)
end)
end)
no actually, Region doesnt uses parts it uses “imaginary boundaries” which cant be destroyed, and exploiters cant do anything about it after they got depreciated