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

Hi how do I instance a model?

Thanks

I'm not sure how to do

1 comment

0

Instance.new("Model")

1 answer

calculate the mass of the sun

i mean uh

Instance.new('Model').Parent = workspace don't use the "p" variable in Instance.new('Model', p) because apparently it's quicker if you define the parent after serializing the model

it also allows you to prepare a model/object/part before it is shown to the public

so we can do this:

local P = Instnace.new('Part')
P.Color = Color3.fromRGB(25,25,25)
P.Name = 'Hawfflwwe haus'
P.Position = Vector3.new(25, 25, 25)
P.Parent = true

we set ALL the necessary properties before the parent is even set, so it appears like the part was made just like that

cool, right? yeah, I know it is. :)

6 comments

0

note: you cannot set a parent to a bool please don't do that it was for the fun

0

thank you very much

1

hi hello please press the accept answer button

0

lmao

0

lol, gonna upvote that comment

0

aw yeah this is happenin

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