Add All Values not working

potions:GetChildren(“PotionX2”) does not do what you think it does. i don’t even know what that does tbh because it’s not even a feature of the roblox api

try doing something like this instead

for i = 1, #potions do
	total += potions[i].PotionX2.Value
end
1 Like