local playersin = game.Players:GetChildren()
if playersin < 2 then script.Parent.Parent.TimerTittle.Text = "Waiting For Players" end
but I don't understand whats wrong with this code
local playersin = game.Players:GetChildren()
if playersin < 2 then script.Parent.Parent.TimerTittle.Text = "Waiting For Players" end
but I don't understand whats wrong with this code
You need to put the code into a codeblock for one, but I'm trying to grind, so here you go.
local playersin = game.Players:GetPlayers()
if #playersin < 2 then script.Parent.Parent.TimerTittle.Text = "Waiting For Players"
end
You needed a # before playersin to get the number. You were almost right, good job! Good luck on your game!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Omg am so stupid how can I forget something that simple Thank you lol