I’m trying to make a inventory system with limits. But after all the items in the inventory have been removed simultaneously, it won’t let me collect stuff anymore. It’s saying that its over the inventory limit.
Only important code:
if #plr.Inventory:GetChildren() + #script.Parent.Parent.Contains:GetChildren() >= plr.Stats.InvSize.Value then
--warn player for inv limit.