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

How to get the position of a model? Easy Answer

I will have cars in ServerStorage that player can spawn in, but how do I get the position of a model?

local model =  game.ServerStorage.Model:Clone()
model.Parent = game.Workspace
model.Position = Vector3.new(10,10,10) -- Position is not a valid member of Model

1 comment

0

A Model Object is a grouping of multiple Instances. It is merely a container, it doesn’t have a Positional property. You can optionally use :MoveTo(), or reference the PrimaryPart Position.

1 answer

✓ Accepted answer

Instead of using .Position maybe You could use model:MoveTo()

2 comments

1

This doesn’t explain the issue.

0

Yea but this does help the script

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