Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --K - Active vel
- --L - Active jump
- --Script
- local uis = game:GetService("UserInputService")
- local velocity = false
- local jump = false
- local speedvalue = 215
- local jumpvalue = 200
- local system = true
- uis.InputBegan:Connect(function(ipt)
- if ipt.KeyCode == Enum.KeyCode.L then
- if system == true then
- return
- end
- if jump == false and system == true then
- jump = true
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = jumpvalue
- else
- jump = false
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end
- end
- end)
- uis.InputBegan:Connect(function(ipt)
- if ipt.KeyCode == Enum.KeyCode.K then
- if system == true then
- return
- end
- if velocity == false then
- jump = true
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speedvalue
- else
- jump = false
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end
- end
- end)
- --==Off button
- uis.InputBegan:Connect(function(ipt)
- if ipt.KeyCode == Enum.KeyCode.Delete then
- system = false
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement