Advertisement
LSJiqueue

Speed Script

Feb 24th, 2024 (edited)
17,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.83 KB | None | 0 0
  1. local localPlayer = game:GetService("Players").LocalPlayer
  2. local uis = game:GetService("UserInputService")
  3. local isRunning = false
  4. local multiplier = 1
  5. task.spawn(function()
  6.     local hint = Instance.new("Hint", workspace)
  7.     hint.Text = "Speed Loaded by LSJiqueue!"
  8.     task.wait(2)
  9.     hint:Destroy()
  10. end)
  11.  
  12.  
  13. uis.InputBegan:Connect(function(i, gp)
  14.     if gp then return end
  15.     if i.KeyCode == Enum.KeyCode.Q then
  16.         isRunning = true
  17.         while isRunning do
  18.             task.wait()
  19.             localPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = localPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame + localPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame.lookVector * multiplier
  20.         end
  21.     end
  22. end)
  23. uis.InputEnded:Connect(function(i, gp)
  24.     if gp then return end
  25.     if i.KeyCode == Enum.KeyCode.Q then
  26.         isRunning = false
  27.     end
  28. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement