How to make a gui say the winners in a round based game?

Hey devs, currently I’m working on a spleef game.

There is a textlabel that is supposed to tell you things like when the round is starting, intermission, winners, etc.

The thing is, I don’t know how I would put the winners’ names on the text label. I looked at the Developer Hub but found no help. Do I use a player id? Do I check to make sure the player didn’t die that round?

If you know how to do this please reply, thanks!


if you just want everything to be on one text label then use concatenation, here is an example and modify it to you needs

local Winners = game.Players:GetPlayers()

local WinnerString = ''

for i,v in pairs(Winners) do

WinnerString = WinnerString .. v.Name .. " "



Thank you! Very helpful. Now I can make the rest of my game! :+1: :slightly_smiling_face:

1 Like