Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a tool that can teleport to where ever i click?

Asked by
rexpex 45
8 years ago

I've been trying to make a tool that can teleport to anywhere i click. I know how to make a brick that teleports to another brick but it doesn't work well.

1 answer

Log in to vote
0
Answered by 8 years ago

If you know how to make a brick teleport where you click, then just make that in a tool but instead of making the brick teleport do:

(player).Torso.CFrame = CFrame.new(Vector3.new(x,y,z))

X,y,z are the position that you want to teleport to.. (player) is the player in workspace.

Ad

Answer this question