Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Hi how do I instance a model?

Asked by
iznr 0
1 year ago

Thanks

I'm not sure how to do

0
Instance.new("Model") greatneil80 2240 — 1y

1 answer

Log in to vote
3
Answered by
Fifkee 2017 Administrator Moderation Voter Community Moderator
1 year ago

~~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:

lua 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. :)

0
note: you cannot set a parent to a bool please don't do that it was for the fun Fifkee 2017 — 1y
0
thank you very much iznr 0 — 1y
1
hi hello please press the accept answer button Fifkee 2017 — 1y
0
lmao HomieFirePGN 137 — 1y
View all comments (2 more)
0
lol, gonna upvote that comment TheSkyofIndia 150 — 1y
0
aw yeah this is happenin Fifkee 2017 — 1y
Ad

Answer this question