Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIS = game:GetService("UserInputService")
- local KeyCode = Enum.KeyCode.LeftShift
- UIS.InputBegan:Connect(function(input,GameProcessed)
- if input.KeyCode == KeyCode then
- script.Parent.Humanoid.WalkSpeed = 32
- end
- end)
- UIS.InputEnded:Connect(function(input,GameProcessed)
- if input.KeyCode == KeyCode then
- script.Parent.Humanoid.WalkSpeed = 16
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment