Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Click To TP") or game.Players.LocalPlayer.Character:FindFirstChild("Click To TP") then
- if game.Players.LocalPlayer.Character:FindFirstChild("Click To TP") then
- game.Players.LocalPlayer.Character:FindFirstChild("Click To TP").Parent = game.Players.LocalPlayer.Backpack
- end
- print("Older Click to Tp it's still here but now it's deleted")
- game.Players.LocalPlayer.Backpack:FindFirstChild("Click To TP").Parent = nil
- end
- print("Loading Click To Tp")
- wait(0.5)
- local mouse = game.Players.LocalPlayer:GetMouse()
- local tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click To TP"
- tool.Activated:connect(function()
- local pos = mouse.Hit+Vector3.new(0,2.5,0)
- pos = CFrame.new(pos.X,pos.Y,pos.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement