It keeps Printing the value 0 I tried to edit it a few times to fix it but nothing i do seems to work anyone know why? Its supposed to print the amount of player's in the server

PlayersInServer = {}
game.Players.PlayerAdded:Connect(function(Player)
	local PlrAmount = #game.Players:GetChildren() + 1
	table.insert(PlayersInServer,PlrAmount,Player)
print(#PlayersInServer)
end)

That's the entire script Its a normal script not a local script