So I've added a text label in the StarterGui and what it basically is supposed to do is just keep track of how many players are currently online.
At default, I kept the text in the label at "Players: 0/12".
When I try and update the text the properties of the label shows it is updated, but visually it isn't updated.
Also I don't add in the wait in the beginning, the value of the total players would just be 0...
Also if this means anything, I'm in ROBLOX studio, but I have tried it on play mode on the level.
wait(0.1)
local players = game.Players:GetPlayers()
local screenGUI = game.StarterGui.ScreenGui
local screenGuiTLabel = game.StarterGui.ScreenGui.TextLabel
local playercount = "Players: " .. #players .. "/12"
function updatePlayerlist()
screenGuiTLabel.Text = playercount
end
game:GetService("Players").PlayerAdded:connect(updatePlayerlist)
Thank you!

3 comments
Alright so I should create a new GUI after the player joins in the path you specified by getting the name of the player and substitute that name with 'SomePlayer' in the path you gave me above?
You don't need to create a new GUI, ROBLOX will do that for you. Add a new line at the top player = game.Players.LocalPlayer, then change line 3 to screenGUI = player.PlayerGui.ScreenGui, and change line 4 to screenGuiTLabel = screenGUI.TextLabel
Thanks a ton!