Hi there, I'm new to Lua so I'm struggling as to how I go about doing this, I've looked around online and no ones seemed to have asked this before so I'll ask here, hopefully someone can help out there!
So for my game I've got a game as a 'hub', where players play this game and within that they use a Gui to teleport to other games. When players are choosing what game to teleport to, the plan was to have a 'Number of Players within game' count on each teleport button, so players can see how many players are playing each game. On paper this sounds straightforward, but I genuinely have no idea how to get that info through scripting. Any help here would be greatly appreciated!

1 comment
If you're new to Lua, I suggest you look at Alvinblox's Beginner Scripting tutorials. Don't try to go too big from the start.