Facebook
From Round Dolphin, 1 Year ago, written in Plain Text.
This paste is a reply to Re: Untitled from Fiery Gibbon - view diff
Embed
Download Paste or View Raw
Hits: 12254
  1. mouse = game.Players.LocalPlayer:GetMouse()
  2. tool = Instance.new("Tool")
  3. tool.RequiresHandle = false
  4. tool.Name = "Click TP (Scriptonite Hub)"
  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