d.ChildRemoved:connect(function()
if #d:GetChildren() + 5 < script.PlayersNum.Value then
fill()
else
spaaawn()
end)
Why does it highlight the ending parenthesis in this code? i've tried replacing literally everything to no avail.
d.ChildRemoved:connect(function()
if #d:GetChildren() + 5 < script.PlayersNum.Value then
fill()
else
spaaawn()
end)
Why does it highlight the ending parenthesis in this code? i've tried replacing literally everything to no avail.
You're missing an end to your if statement
d.ChildRemoved:connect(function()
if #d:GetChildren() + 5 < script.PlayersNum.Value then
fill()
else
spaaawn()
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
you forgot a end for the if statment
i'm a big big dummy