Advertisement
robloxgayming

ROBLOX Er:Lc Speed Hack

Aug 7th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.18 KB | None | 0 0
  1. --LeftShift to Sprint
  2. local Player = game:GetService'Players'.LocalPlayer;
  3. local UIS = game:GetService'UserInputService';
  4. UIS.InputBegan:connect(function(UserInput)
  5.         if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.LeftShift then
  6.             _G.Running = true
  7.                 while wait(0.005) and _G.Running == true do
  8. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 1
  9. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 1
  10. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 1
  11. end
  12.         end
  13. end)
  14. UIS.InputEnded:connect(function(UserInput)
  15.         if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.LeftShift then
  16.                 _G.Running = false
  17.         end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement