Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to check if all children got a value?

Asked by
Kryddan 261 Moderation Voter
9 years ago

I want to check if all the children got any Value, how could i do that.

while wait() do
    for i,v in ipairs(player.Backpack.deck:GetChildren()) do
        if v.Value ~= "" then
            print("hurray")
        end
    end
end

player is already defined(localscript)

0
Can you elaborate? What do you mean by getting any value? IcyArticunoX 355 — 9y

Answer this question