This is the script
local zeb=game:GetService("UserInputService") zeb.InputBegan:connect(function(key) if Input.Keycode=enum.Keycode.LeftShift then game.Players.LocalPlayer.Humanoid.Walkspeed=50 else game.Players.LocalPlayer.Humanoid.Walkspeed=25 end zeb.InputEnded:connect(function() game.Players.LocalPlayer.Humanoid.Walkspeed=25 end) end)
it dont work..please help
local player = script.Parent.Parent local mouse = player:GetMouse() local running = false mouse.KeyDown:connect(function(key) if key == "0" then running = true player.Character.Humanoid.WalkSpeed = 32 end end) mouse.KeyUp:connect(function(key) if key == "0" then running = false player.Character.Humanoid.WalkSpeed = 16 end end)
There, use that.