vtrvsted

kavo aa

Nov 7th, 2022
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.07 KB | None | 0 0
  1. --kavo AA
  2. local Toggled = false
  3. local KeyCode = 'n'
  4.  
  5.  
  6. function AA()
  7.     local oldVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  8.     game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, -70, oldVelocity.Z)
  9.     game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, oldVelocity.Y, oldVelocity.Z)
  10.     game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(oldVelocity.X, -70, oldVelocity.Z)
  11.     game.Players.LocalPlayer.Character.Humanoid.HipHeight = 3.05
  12. end
  13.  
  14. game:GetService('UserInputService').InputBegan:Connect(function(Key)
  15.     if Key.KeyCode == Enum.KeyCode[KeyCode:upper()] and not game:GetService('UserInputService'):GetFocusedTextBox() then
  16.         if Toggled then
  17.             Toggled = false
  18.             game.Players.LocalPlayer.Character.Humanoid.HipHeight = 2.6
  19.  
  20.         elseif not Toggled then
  21.             Toggled = true
  22.  
  23.             while Toggled do
  24.                 AA()
  25.                 task.wait()
  26.             end
  27.         end
  28.     end
  29. end)
Add Comment
Please, Sign In to add comment