I'm making a game, and when 2 or more people join the game, a countdown will start. So if there is only 1 person on the server, it will say "Waiting for 1 more player…", and then it's supposed to go 10, 9, 8… when someone else joins. It does, but only on that person's screen. The countdown doesn't start on my screen, only the other players screen. Why is this happening. I have everything in a regular script, not a local script.
Here's the script:
c = script.Parent
script.Parent.Visible = true
game:GetService("StarterGui").ResetPlayerGuiOnSpawn = false
if game.Players.NumPlayers == 1 then
c.Text = "Waiting for 1 more player..."
elseif game.Players.NumPlayers <=2 then
c.Text = "Game Starting In..."
wait(2)
c.Text = "10"
wait(1)
c.Text = "9"
wait(1)
c.Text = "8"
wait(1)
c.Text = "7"
wait(1)
c.Text = "6"
wait(1)
c.Text = "5"
wait(1)
c.Text = "4"
wait(1)
c.Text = "3"
wait(1)
c.Text = "2"
wait(1)
c.Text = "1"
wait(1)
c.Text = "0"
end

1 comment
Showing the script would be helpful