Advertisement
eeweww

Speed cheat for roblox

Mar 24th, 2023
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.79 KB | Gaming | 0 0
  1. --[[
  2.      Speed Cheat
  3.      By: @shany26M10 on roblox
  4.  
  5.      Works for most games, most big games patch this.
  6. ]]--
  7.  
  8. local speed      = 70
  9. local playerName = "UsernameHere"
  10.  
  11. local function setSpeedForPlayer(player)
  12.     local character = player.Character
  13.     if character then
  14.         local humanoid = character:FindFirstChild("Humanoid")
  15.         if humanoid then
  16.             humanoid.WalkSpeed = speed
  17.             humanoid.JumpPower = speed * 1.5
  18.         end
  19.     end
  20. end
  21.  
  22. local function onPlayerAdded(player)
  23.     setSpeedForPlayer(player)
  24. end
  25.  
  26. game:GetService("Players").PlayerAdded:Connect(onPlayerAdded)
  27.  
  28. -- Example usage: set speed for a specific player
  29. local player = game:GetService("Players"):FindFirstChild(playerName)
  30. if player then
  31.     setSpeedForPlayer(player)
  32. end
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement