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

Is it possible to Insert a model using InsertService and place it on a specific position?

Some models I've noticed go haywire when I upload them, causing them to spawn not in a grid pattern. And also the fact that building off a current model is 10x easier if it's centered at 0,1,0. Anyways I was wondering if it was possible to insert a model using the InsertService and place it at a specific position (0,1,0) I already know how to insert a model with the InsertService >_>

4 comments

0

If it's a model just use :MoveTo()

0

@Lord Does that work for the whole thing? I thought that was for a specific part

0

That didn't work, instead I just added two parts that spanned the X coordinate and the Z coordinate of the object to the model, then I was able to set 0,1,0 and it set the model to that spot. Thanks for your help though guys

0

I believe it's quite possible. Just make a recursive function to set the PrimaryPart of the model loaded. Then use :MoveTo() or :SetPrimaryPartCFrame().

1 answer

model = however you get to the model

model:MoveTo(0,1,0)

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