RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a advanced roblox anti cheat for a anti speed"
-- server script local Players = game:GetService("Players") local function onCharacterAdded(character) local humanoid = character:WaitForChild("Humanoid") local originalWalkSpeed = humanoid.WalkSpeed humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function() if humanoid.WalkSpeed > originalWalkSpeed then humanoid.WalkSpeed = originalWalkSpeed local player = Players:GetPlayerFromCharacter(character) if player then player:Kick("Speed hacking is not allowed.") end end end) end local function onPlayerAdded(player) if player.Character then onCharacterAdded(player.Character) end player.CharacterAdded:Connect(onCharacterAdded) end Players.PlayerAdded:Connect(onPlayerAdded)