local players = Game.Players:GetPlayers()
for key = 1, #players do
local value = players[key]
value.Backpack:ClearAllChildren()
end
It works, but if the player has an item equipped then that item dosent go with them. In their backpack in explorer it says they have nothing, but they still have the item in their inventory

2 comments
some parts to the code arent required, like the double ==
Yeah for the specifying the 'cc' variable that wasn't needed but whatevs.