So, I wanna build a stage. I wanna know how I can make a model disappear by pressing a button or re-appear if I press another button (like on and off). If anyone can help me with this that be great.
How to make models disappear and re-appear?
2 answers
This is not a request site, have you tried? Your current code? There are many ways to achieve this, one way is you could just set the models parent to somewhere else like replicatedstorage or serverstorage, and then move it back to where it is again.
I'm not going to give you a script to use because, like FrostTaco said, this isn't a request site. But, if you want the button to be tied to a part, add a Clickdetector into the part, and then write a script so that when the player clicks on the part, you could set the transparency of your model to 1, and then wait for the button to be clicked again to set transparency to 0. Or you could move it in and out of ReplicatedStorage or ServerStorage with
partName.parent = game.ServerStorage or partName.parent = game.ReplicatedStorage
and then move it back into the workspace when you're done with that same method.
Hopefully this helps put you on the right track. Let me know if you need any more help!
This discussion is preserved as it was. New answers, comments, and votes are closed.
