So I need a player counter that counts the players. I couldn't find a result online or in ROBLOX wiki.
What I'm trying to do is when a player joins a game it will keep looping an intro until another player joins.
But I can't use PlayerAdded so I need to a player counter. I know this is a script request (kinda) but I have no clue where to find any results other than here. I have looked everywhere necessary but now I will need the assistance of the fellow members on Scripting Helpers.
Thank you for any feed back or links to the feature I'm looking for.

3 comments
you could have a value in server storage and a script in serverscriptservice and everytime a player joins it adds one to the value and everytime a player leaves it takes away one
alternitively you could create a table like local PlayerTable = {} and loop through each player and insert them into the table and then do print(#PlayerTable)
local players = game:GetService("Players"):GetChildren() print(#players)