I'm quite curious about this question, and I'd like to know. I'd like to make a TextLabel, and add a script that changes the text whenever one joins or leaves a game.
Simple line:
while wait(60) do local players = game.Players:GetChildren() print("There are "..#players.." players in the game!") end
This will just say how many players there are every minute
Very simple. Do this in the dev console
print(#game:GetService("Players"):GetPlayers())
or
print(#game:GetService("Players"):GetChildren())
Closed as Not Constructive by WideSteal321, Cynical_Innovation, IAmNotTheReal_MePipe, matiss112233, and raid6n
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?