Advertisement
FazeWolfyBoy

Click TP

Mar 26th, 2022
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. game.StarterGui:SetCore("SendNotification", {
  2. Title = "Opexx ClickTP";
  3. Text = "ClickTP CTRL + Click To Use";
  4. })
  5. noclip = false
  6. local UIS = game:GetService("UserInputService")
  7. local Player = game.Players.LocalPlayer
  8. local Mouse = Player:GetMouse()
  9.  
  10.  
  11. function GetCharacter()
  12. return game.Players.LocalPlayer.Character
  13. end
  14.  
  15. function Teleport(pos)
  16. local Char = GetCharacter()
  17. if Char then
  18. Char:MoveTo(pos)
  19. end
  20. end
  21.  
  22.  
  23. UIS.InputBegan:Connect(function(input)
  24. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  25. Teleport(Mouse.Hit.p)
  26. end
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement