Advertisement
Glyoit

Untitled

Jun 19th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  2. if inputObject.KeyCode == Enum.KeyCode.T then
  3. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,3,0)
  4. end
  5. end)
  6.  
  7. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  8. if inputObject.KeyCode == Enum.KeyCode.G then
  9. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
  10. end
  11. end)
  12. local Plr = game:GetService("Players").LocalPlayer
  13. local Mouse = Plr:GetMouse()
  14. local hold = false
  15. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  16. if inputObject.KeyCode == Enum.KeyCode.V then
  17. if hold == false then
  18. hold = true
  19. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Speed/Noclip", Text = "Enabled"})
  20. game:GetService("RunService").Stepped:connect(function()
  21. if hold == true then
  22. Plr.Character.Humanoid:ChangeState(11)
  23. Plr.Character.Humanoid.WalkSpeed = 60
  24. Plr.Character.Humanoid.JumpPower = 50
  25. end
  26. end)
  27. elseif hold == true then
  28. hold = false
  29. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Speed/Noclip", Text = "Disabled"})
  30. Plr.Character.Humanoid.WalkSpeed = 20
  31. Plr.Character.Humanoid.JumpPower = 40
  32. end
  33. end
  34. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement