Here is my code:
while true do wait(.1)
if game.Players.NumPlayers == 1 then
script.Parent.TextValue.Value = "2 more players are needed"
else script.Parent.TextValue = "1 more player is needed" end
end
Please edit this
I think that your error is that for every "if" you need an end which you need in your first part of the script
hope this help if not Im sorry