Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I use MoveTo()?

I'm trying to move players to a brick on my map. I don't really know how to use that. Help?

2 answers

✓ Accepted answer

You have to use this

game.Workspace.Player.Torso.CFrame = CFrame.new(Vector3.new(0, 50, 0))

Please look on the wiki before immediately coming here. You could have had your answer there.

MoveTo() takes a vector three value. So,

MoveTo(Vector3.new(#,#,#))

Or,

MoveTo(workspace.Part.Position)

1 comment

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.