Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you find a team's score from the leaderboard?

Asked by 8 years ago

How do you find a team's score from the leaderboard? Do you have to add all the scores of the players or is there an easier way to find it? It shows the team's score on Roblox's leaderboard, but I can't find the value. I have no idea how to, and I cannot find it anywhere. Any leads? Thanks!

0
explain what you mean by team scores a bit maybe? RobloxianDestory 262 — 8y
0
Lets say the players have a leaderstat for example kills, if 2 players are are on one team, it will add up their kills and show it on the leaderboard, but in my case it is score. GatitosMansion 187 — 8y
0
so you're trying to get player's scores from, inside the game, and show it on a gui? RobloxianDestory 262 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

I'm not sure if that's what you meant but

local TeamScore
for i,v in pairs(game.Players:GetPlayers()) do
local ScoreNeeded --= Path to your score
TeamScore = TeamScore + ScoreNeeded.Value
end
Ad

Answer this question