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

[SOLVED] How to remove item from backpack when added?

Asked by
vovik 9
5 years ago
Edited 5 years ago

Hi guys!

When i try to :Destroy() tool when it is added to backpack i get this message:

"Something unexpectedly tried to set the parent of Apple to NULL while trying to set the parent of Apple. Current parent is Backpack."

It doesnt destroy the tool, but removes all his children. How to completely destroy it?

Thanks!

0
Try adding a wait before the Destroy() as you are using the correct method, however, the parenting was not complete before you called the function to remove it SerpentineKing 3885 — 5y
0
^ starmaq 1290 — 5y
0
Thanks! Wait() worked for me vovik 9 — 5y

Answer this question