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

how do i get a models position?

Asked by 4 years ago
Edited 4 years ago

so i need to change a models position and i can't because it is not in the properties so how do i change the position?

1 answer

Log in to vote
1
Answered by 4 years ago

You need to set a primary part for the model and put something like this in the script to make the model change position.

 game.Workspace.model:SetPrimaryPartCFrame(CFrame.new(x,y,z))

If you don't know how to set a primary part for the model just go into the model's properties, click on PrimaryPart, then select the part in the model that you want the primary to be using the Explorer tab. Hope this helped.

0
sorry i took so long to answer botw_legend 502 — 3y
Ad

Answer this question