basically, i made a generic loop that finds int values, and if their Value is 0 then it does things.
How can I only do things for only 1 of them? child[number] returns an error that says number is not a valid member of child.
FindFirstChildOfClass() also doesn't work because I need to find one with a specific value of 0.
help pls
part of the script:
for i,c in pairs (some directory:GetChildren()) do
if c:IsA("IntValue") then
if c.Value==0 then
-- idk what to do now
end
end
end

2 comments
Please include the script in your post so that we could be able to help you.
okay i did