-- LOCAL SCRIPT , STARTER CHARACTER SCRIPT
local ContextActionService = game:GetService("ContextActionService")
local Players = game:GetService("Players")
local Keycode = Enum.KeyCode.LeftShift
local Increment = 16
local IsIncremented = false
local Player = Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
ContextActionService:BindAction("Sprint",function(inputname : string, inputstate : Enum.UserInputState, inputobject : InputObject)
if inputstate == Enum.UserInputState.Begin then
Humanoid.WalkSpeed += Increment
IsIncremented = true
elseif inputstate == Enum.UserInputState.End then
Humanoid.WalkSpeed -= Increment
IsIncremented = false
else
if IsIncremented then
Humanoid.WalkSpeed -= Increment
IsIncremented = false
end
end
end,false,Keycode)
#Sprint Script
1 messages · Page 1 of 1 (latest)
I'd recommend doing it from the server
Why
I'd recommend doing it client & server ;3
Stop forcing people doing on server or what ever it is, just stop.
They didn’t force they just recommended
no reason to do on server
only thing to do on server is sanity check
if player go above sprint speed
:/
Exploit is really easy to make, I can even do it
you can be Roblox developer or hacker
But developer are responsible for anti cheat
You should only worry about anti cheat IF your game slowly getting more popular.
Script here