Advertisement
UltimateCheater

inf speed LUA

Jun 25th, 2024 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. -- Infinite Speed Script
  2.  
  3. local speedMultiplier = 2 -- Increase the player's speed by 2 times
  4.  
  5. local function updateSpeed()
  6. while true do
  7. -- Replace 'player' with the actual player object or variable in your game
  8. local player = game:GetService("Players").LocalPlayer
  9.  
  10. -- Update the player's speed
  11. if player then
  12. local humanoid = player.Character.Humanoid
  13.  
  14. if humanoid then
  15. humanoid.WalkSpeed = 16 * speedMultiplier -- Adjust the multiplier to set the desired speed
  16. end
  17. end
  18.  
  19. -- Adjust the delay based on how frequently you want to update speed
  20. wait(0.5) -- Adjust the delay if needed
  21. end
  22. end
  23.  
  24. spawn(updateSpeed)
  25.  
  26. -- Optional: Display a message that the script is running
  27. print("Infinite Speed script activated.")
  28.  
Tags: Cheats
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement