Advertisement
LolPenguinOwO

gfdgfdgfd

May 17th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character or player.CharacterAdded:Wait()
  3. local humanoid = character:WaitForChild("Humanoid")
  4. local originalSpeed = humanoid.WalkSpeed
  5.  
  6. local function toggleFakeMacro()
  7. if humanoid.WalkSpeed == originalSpeed then
  8. humanoid.WalkSpeed = 150
  9. else
  10. humanoid.WalkSpeed = originalSpeed
  11. end
  12. end
  13.  
  14. local function onKeyPress(input)
  15. if input.KeyCode == Enum.KeyCode.Q then
  16. toggleFakeMacro()
  17. end
  18. end
  19.  
  20. game:GetService("UserInputService").InputBegan:Connect(onKeyPress)
  21. game:GetService("UserInputService").InputEnded:Connect(onKeyPress)
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement