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

How do I bring something back?

Asked by 9 years ago

How do I bring something back after a script has removed it?

0
How is the script removing it? If it's using :destroy() there is no way to recover iaz3 190 — 9y
0
Explain why you want to do this. There's the XY problem; we can't read minds; you might be on a completely wrong path. BlueTaslem 18071 — 9y

2 answers

Log in to vote
2
Answered by 9 years ago

Don't remove it, Parent it to ReplicatedStorage and then if you want it back, Parent it to Workspace - or wherever you need the "something".

0
A lot of things in my game need it for a good experience :) Seeker5123 15 — 9y
0
I have an inventory Gui, and I'm worried that if I just make visable=false, it would still be clickable Seeker5123 15 — 9y
Ad
Log in to vote
1
Answered by
Uroxus 350 Moderation Voter
9 years ago

Place a copy of the something into ServerStorage and when you remove it and want it back, just clone it from ServerStorage and useVector3.new to place it where it's wanted. (This would only work for a model, If it's a GUI you'd clone it and change the parent to the local player) But why would you want something back after it's been removed?

Answer this question