I'm not a very good scripter, but i'm trying to make something so the score of a team is how many players are in the server, I try this script, and It doesn't work, Help anyone?
local players = game.Players:GetChildren() game.Teams.Players.Score = players
You are attempting to set a NumberValue (score property) to a table (game.Players:GetChildren())
The length operator
#
would return the amount of players in this case.local players = game.Players:GetPlayers() game.Teams.Players.Score = #players