Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Toggled = false
- local KeyCode = 'x'
- function AA()
- local oldVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, -70, oldVelocity.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, oldVelocity.Y, oldVelocity.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, -70, oldVelocity.Z)
- game.Players.LocalPlayer.Character.Humanoid.HipHeight = 4.14
- end
- game:GetService('UserInputService').InputBegan:Connect(function(Key)
- if Key.KeyCode == Enum.KeyCode[KeyCode:upper()] and not game:GetService('UserInputService'):GetFocusedTextBox() then
- if Toggled then
- Toggled = false
- game.Players.LocalPlayer.Character.Humanoid.HipHeight = 1.85
- elseif not Toggled then
- Toggled = true
- while Toggled do
- AA()
- task.wait()
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment