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

How do I put in a certain model with a button named Button1? [closed]

Asked by 9 years ago

Pretty much said in the title, but the name of the model is Steel Asylum. And delete it with a button named button2?

Closed as Not Constructive by Goulstem and Redbullusa

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by
parkderp1 105
9 years ago

You would store the model somewhere like ServerStorage, then you would insert a script into the Button that clones the model and then places it into Workspace.

Go here for more help: http://wiki.roblox.com/index.php?title=How_to_Make_a_Model_Regenerate

Ad
Log in to vote
0
Answered by 9 years ago

Sorry to tell you but, requests are against the rules. Anyway, because I'm a nice person, I'll tell you how to do it. As of right now, I don't know how to put in models with a script, but I know how to delete. Note: You need a ClickDetector in the button for this script.

CD = script.Parent.ClickDetector
if CD.Mouse1Click then
    CD.Parent.Steel Asylum:Destroy() (Or CD.Parent:Destroy() )
end