I want to change the position of a model is it possible
if you want to change the model position like all the parts use model:SetPrimaryPartCFrame(). This only works if you set the PrimaryPart properties in studio.
e.g.
1 | model = script.Parent |
2 | myvector = Vector 3. new( 0 , 0 , 0 ) |
3 | mycframe = CFrame.new(myvector) |
4 |
5 | model:SetPrimaryPartCFrame(mycframe) |
you can also use MoveTo, as stated below in the comments. Use MoveTo if you just want to use Vector3 and not CFrames
1 | model = script.Parent |
2 |
3 | model:MoveTo(Vector 3. new( 0 , 0 , 0 )) |