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

How to use vector3 on a player model?

How do I use a vector3 on a player, it's been confusing me.

1 answer

✓ Accepted answer

If by that you mean position, you're going to use one of the following:

--Try putting one of these in the command line when playing in Studio. They all do the same thing.
game.Players.Player.Character:MoveTo(Vector3.new(0, 1000, 0))
game.Players.Player.Character:SetPrimaryPartCFrame(Crame.new(0, 1000, 0))
game.Players.Player.Character.PrimaryPart.CFrame = CFrame.new(0, 1000, 0)

1 comment

1

You could also change the Torso's CFrame as all the player's parts are welded to it via Motor6Ds, but MoveTo is the quickest one for Vector3s.

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