SrrBanana

WalkSpeed_ByPass

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