I have this code that resets information in a GUI. It’s telling me that v.Count.Value
cannot be converted to a number. “Count” is a NumberValue instance, and this has never happened before. How do I fix it?
for i,v in pairs(Slots:GetChildren()) do
v.Occupied.Value = false
v.Count.Value = nil
v.ItemImage.Counter.Text = ""
v.ItemName.Value = ""
v.ItemImage.Image = ""
for i,v in pairs(v.Tags:GetChildren()) do v.Value = false end
end