Advertisement
ILovePotato

Untitled

Nov 23rd, 2024
10,993
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. -- Settings
  2.  
  3. -- DISCLAIMER: THIS CAN EASILY GET YOU BANNED IF THE GAME DETECTS IT
  4. -- NOTE: MAY WONT WORK ON SOME GAMES
  5.  
  6. _G.Hold = false
  7. _G.Tp = false -- Keep false if hold is true
  8. _G.TpDistance = CFrame.new(0, 0, 2) -- |2 = behind |-2 = front| less = less distance
  9. _G.Key = "G"
  10. _G.ManualSpeedSetupKey = "L"
  11. _G.Speed = 25 -- Too high will make people know ur exploiting
  12. _G.NoStun = 0.5 -- For this ammount of time you will have no stun
  13. _G.autoSetNormalSpeed = true
  14. _G.manuallySetNormalSpeed = false -- Press L to set it will copy ur current speed
  15. _G.normalSpeed = 18 -- Set manually from the script
  16.  
  17. -- Scripts
  18.  
  19. local plr = game:GetService("Players").LocalPlayer
  20. local char = plr.Character or plr.CharacterAdded:Wait()
  21. local hum = char:WaitForChild("Humanoid")
  22. local Holding = false
  23.  
  24. if _G.autoSetNormalSpeed == true then
  25.  
  26. _G.normalSpeed = hum.WalkSpeed
  27.  
  28. end
  29.  
  30. game:GetService("UserInputService").InputBegan:Connect(function(input, typing)
  31.  
  32. if typing then
  33.  
  34. return
  35.  
  36. else
  37.  
  38. if input.KeyCode == Enum.KeyCode[_G.Key] then
  39.  
  40. if _G.Tp == false then
  41. hum.WalkSpeed = _G.Speed
  42. task.wait(_G.NoStun)
  43. hum.WalkSpeed = _G.normalSpeed
  44. Holding = true
  45. print("Hehe")
  46. else
  47.  
  48. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * _G.TpDistance
  49.  
  50. end
  51. elseif input.KeyCode == Enum.KeyCode[_G.ManualSpeedSetupKey] then
  52. if _G.ManualSpeedSetupKey == true then
  53. normalSpeed = hum.WalkSpeed
  54. end
  55. end
  56. end
  57. end)
  58.  
  59. game:GetService("UserInputService").InputEnded:Connect(function(input, typing)
  60.  
  61. if typing then
  62.  
  63. return
  64.  
  65. else
  66.  
  67. if input.KeyCode == Enum.KeyCode[_G.Key] then
  68.  
  69. Holding = false
  70.  
  71. end
  72. end
  73. end)
  74.  
  75.  
  76. while task.wait() do
  77.  
  78. if _G.Hold == true and Holding == true then
  79.  
  80. hum.WalkSpeed = _G.Speed
  81.  
  82. elseif Holding == false and _G.Hold == true then
  83.  
  84. hum.WalkSpeed = _G.normalSpeed
  85.  
  86. end
  87. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement