hello scripters! im trying to move a character and i cant find the position of the model heres my script
script.parent.worldpivot.position = vector3.new()
i have the position blank because i don’t know how to find the position ok thanks bye
hello scripters! im trying to move a character and i cant find the position of the model heres my script
script.parent.worldpivot.position = vector3.new()
i have the position blank because i don’t know how to find the position ok thanks bye
The position of the model would be determined by its primary part, if you have it set up with a primarypart you can just do Model.PrimaryPart.Position
or Model:GetPrimaryPartCFrame()
.
As for your title’s question, you can move a model using Model:MoveTo(position)
or Model:SetPrimaryPartCFrame(CFrame)
, or directly setting the CFrame/Position of the primary part