UnknownExploiter

Ctrl-TP

Nov 5th, 2020
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. -- Ctrl-Click TP
  2. -- Useful for getting around, pretending to be sans, etc
  3.  
  4. local Plr = game:GetService("Players").LocalPlayer
  5. local Mouse = Plr:GetMouse()
  6.  
  7. Mouse.Button1Down:connect(function()
  8. if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then return end
  9. if not Mouse.Target then return end
  10. Plr.Character:MoveTo(Mouse.Hit.p)
  11. end)
Add Comment
Please, Sign In to add comment