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

Is it possible to change the visibility of all objects in a model, regardless of the model???

Asked by 4 years ago

The title is a bit vague so I'll go into a bit more detail.

So I'm looking to have REPLACEABLE models named "one" and "two," and using the name "one" or the name "two" I want to change whether all the parts in the model are visible. Is this possible? I could technically just use viewport frames but I would definitely prefer it this way.

I have NOT experimented because I couldn't find any info on the subject, so sadly I do not have any lines of code... please explain any code you send!

1 answer

Log in to vote
1
Answered by 4 years ago

You can store the different models in replicated storage and get them by either cloning them or changing the parent of the mode. Keeping it in the replicated storage will keep the same position when moved back into the workspace as well as make the entire model not in the game unless you want it to be.

0
Oh! I can't believe I didn't think of this lmao. Ty for the help. Gomenasa1 32 — 4y
Ad

Answer this question