ExluZive

Roblox Script SpeedHack (Pc/Mobile)

Oct 26th, 2023 (edited)
30,870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Variables
  2. local speedValue = 16 -- Default speed value
  3.  
  4. -- Create GUI
  5. local gui = Instance.new("ScreenGui")
  6. gui.Name = "JN HH Gaming"
  7. gui.Parent = game.Players.LocalPlayer.PlayerGui
  8.  
  9. local frame = Instance.new("Frame")
  10. frame.Name = "SpeedFrame"
  11. frame.Size = UDim2.new(0, 200, 0, 100)
  12. frame.Position = UDim2.new(0, 10, 0, 10)
  13. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  14. frame.BackgroundTransparency = 0.5
  15. frame.Parent = gui
  16.  
  17. local speedLabel = Instance.new("TextLabel")
  18. speedLabel.Name = "SpeedLabel"
  19. speedLabel.Size = UDim2.new(0, 180, 0, 30)
  20. speedLabel.Position = UDim2.new(0, 10, 0, 10)
  21. speedLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  22. speedLabel.TextColor3 = Color3.new(1, 1, 1)
  23. speedLabel.TextSize = 18
  24. speedLabel.Text = "Speed: " .. speedValue
  25. speedLabel.Parent = frame
  26.  
  27. local decreaseButton = Instance.new("TextButton")
  28. decreaseButton.Name = "DecreaseButton"
  29. decreaseButton.Size = UDim2.new(0, 50, 0, 30)
  30. decreaseButton.Position = UDim2.new(0, 10, 0, 50)
  31. decreaseButton.BackgroundColor3 = Color3.new(0, 1, 0)
  32. decreaseButton.TextColor3 = Color3.new(1, 1, 1)
  33. decreaseButton.TextSize = 14
  34. decreaseButton.Text = "-"
  35. decreaseButton.Parent = frame
  36.  
  37. local increaseButton = Instance.new("TextButton")
  38. increaseButton.Name = "IncreaseButton"
  39. increaseButton.Size = UDim2.new(0, 50, 0, 30)
  40. increaseButton.Position = UDim2.new(0, 140, 0, 50)
  41. increaseButton.BackgroundColor3 = Color3.new(0, 1, 0)
  42. increaseButton.TextColor3 = Color3.new(1, 1, 1)
  43. increaseButton.TextSize = 14
  44. increaseButton.Text = "+"
  45. increaseButton.Parent = frame
  46.  
  47. -- Functions
  48. local function updateSpeedLabel()
  49.     speedLabel.Text = "Speed: " .. speedValue
  50. end
  51.  
  52. local function decreaseSpeed()
  53.     if speedValue > 1 then
  54.         speedValue = speedValue - 1
  55.         updateSpeedLabel()
  56.     end
  57. end
  58.  
  59. local function increaseSpeed()
  60.     speedValue = speedValue + 1
  61.     updateSpeedLabel()
  62. end
  63.  
  64. local function onDecreaseButtonClicked()
  65.     decreaseSpeed()
  66. end
  67.  
  68. local function onIncreaseButtonClicked()
  69.     increaseSpeed()
  70. end
  71.  
  72. -- Event connections
  73. decreaseButton.MouseButton1Click:Connect(onDecreaseButtonClicked)
  74. increaseButton.MouseButton1Click:Connect(onIncreaseButtonClicked)
  75.  
  76. -- Main loop
  77. while true do
  78.     -- Modify the speed of the character (you need to replace this with the appropriate code for your specific game)
  79.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speedValue
  80.     wait(0.1) -- Adjust the wait time as desired
  81. end
Add Comment
Please, Sign In to add comment