Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Anti-cheat not kicking players for having a walkspeed thats highers than 16?

--[[
Created By Externalsight
]]
require(script.KickModule)

wait(2)
warn("Loading Anti-Cheat")

game.Players.PlayerAdded:Connect(function(plr)
	print("Player Has Joined The Game")
end)



local Players = game:GetService("Players")

for _, Player in pairs(Players:GetPlayers()) do
	warn("Loading Walkspeed Kick Module")
	local Char = Player.Character
	if (Char) then
		local Hum = Char:WaitForChild("Humanoid")
		if Hum.WalkSpeed >16 then
			warn("Player has higherwalkspeed then 16")
		end
	end
end

This script does not warn me that player has a higher walkspeed than 16 is this cause this script is server sided and not client sided?

1 answer

Found a way to fix this! Just add a script into StarterCharacterScript and then check for walkspeed!

2 comments

0

Lmao

0

You shouldn't use a local script because cheats can just delete the script. If you are to make a server side script you should get the speed from the players position. However doing this you need to compensate for many things including lag. It is much harder but will be better if you get it working.

This discussion is preserved as it was. New answers, comments, and votes are closed.