Go through all the phobias using a generic for loop.
for _, phobia in ipairs(Phobias:GetChildren()) do
phobia.Changed:Connect(function()
CheckComplete(phobia)
end)
end)
And do similar for that last script.
Go through all the phobias using a generic for loop.
for _, phobia in ipairs(Phobias:GetChildren()) do
phobia.Changed:Connect(function()
CheckComplete(phobia)
end)
end)
And do similar for that last script.