This script works,its just that i want that all the players still alive to be writen on the Gui
How i modify this script so when the ”timer”( i ) = to 0 all players that are still on the map(Not in the lobby) are written on the Status.Value? (which is a GUI)
Status.Value its a Gui
i are sec, its a working timer
reward =1
#plrs its a list of players that are in the table
Status.Value = "There are "..i.." seconds remaining, and "..#plrs.." players left"
if i == 0 then
-- timers goes to 0
Status.Value = "The winner is "..plrs[1].Name
plrs[1].leaderstats.Bucks.Value = plrs[1].leaderstats.Bucks.Value + reward
break
elseif #plrs == 0 then
Status.Value = "Nobody won!"
break
end

1 comment
Why did you accept and then unaccept?