Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIS = game:GetService("UserInputService")
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Deb = false
- local KeyPressed = "X"
- UIS.InputBegan:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.X then
- if Deb == false then
- Character.Humanoid.WalkSpeed = 32
- Deb = true
- else
- Character.Humanoid.WalkSpeed = 16
- Deb = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement