This might not be the right function calls, its more of a pseudo example.
This is a simple way to get track of who got the highest "score"
local winner = 0
local winnerScore = 0
local guildStorages =
{
[1] = 1234,
[2] = 1235,
[3] = 1236,
[4] = 1237
}
for i, #guildStorages then...