Advertisement
Guest User

I Kuy นัท

a guest
Oct 22nd, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. loadstring(game:HttpGet("https://pastebin.com/raw/Y4R56bR4", true))()
  2.  
  3. local Player = game.Players.LocalPlayer
  4. local Mouse = Player:GetMouse()
  5. local UserInputService = game:GetService('UserInputService')
  6.  
  7. local HoldingControl = false
  8.  
  9. Mouse.Button1Down:connect(function()
  10. if HoldingControl then
  11. Player.Character:MoveTo(Mouse.Hit.p)
  12. end
  13. end)
  14.  
  15. UserInputService.InputBegan:connect(function(Input, Processed)
  16. if Input.UserInputType == Enum.UserInputType.Keyboard then
  17. if Input.KeyCode == Enum.KeyCode.LeftControl then
  18. HoldingControl = true
  19. elseif Input.KeyCode == Enum.KeyCode.RightControl then
  20. HoldingControl = true
  21. end
  22. end
  23. end)
  24.  
  25. UserInputService.InputEnded:connect(function(Input, Processed)
  26. if Input.UserInputType == Enum.UserInputType.Keyboard then
  27. if Input.KeyCode == Enum.KeyCode.LeftControl then
  28. HoldingControl = false
  29. elseif Input.KeyCode == Enum.KeyCode.RightControl then
  30. HoldingControl = false
  31. end
  32. end
  33. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement