Advertisement
Ainzoe

Ctrl+Click=Tp

Oct 7th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. mouse = game.Players.LocalPlayer:GetMouse()
  2. tool = Instance.new("Tool")
  3. tool.RequiresHandle = false
  4. tool.Name = "Click Teleport"
  5. tool.Activated:connect(function()
  6. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  7. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  8. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  9. end)
  10. tool.Parent = game.Players.LocalPlayer.Backpack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement