Is it possible to make an item in your backpack, go away, so you have an empty backpack? Anything I need to know before trying?
✓ ANSWER ACCEPTED
How to make everything in backpack disapear? [UNSOLVED]
1 answer
✓ Accepted answer
You can iterate through all objects in the backpack and destroy each child, or use the ClearAllChildren method:
Game.Players["Player Name"].Backpack:ClearAllChildren();
Addition And to clear all players' backpacks:
local players = Game.Players:GetPlayers(); -- Get a table of all the players
for key = 1, #players do -- Increment the key variable every iteration until it reaches the amount of players
local value = players[key]; -- Create a reference to the player
value.Backpack:ClearAllChildren(); -- Clear their backpack
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
How could I do it so its not just players. I want it so when an event happens, everything in every players backpack is cleared
I altered my answers. I loop through and get each player and clear the children of their backpack.
Need to be in localscript?
Nope. But I suppose it could work in a localscript if filtering is not enabled.
what is filtering enabled and how do I enable and disable?
http://wiki.roblox.com/index.php?title=Security