All pastes #953337 Raw Edit

Anonymous

public text v1 · immutable
#953337 ·published 2008-03-23 00:12 UTC
rendered paste body
	while true do
		wait(3)
		local f = game.Players:GetPlayers()
		for x=1, #f do
			if f[x].leaderstats.Round.Value == 1 then
				numPlaying = numPlaying + 1
			elseif f[x].leaderstats.Round.Value == 2 then
				numPlaying = numPlaying - 1
			end
			if numPlaying == 1 then
				if f[x].leaderstats.Round.Value == 1 then
					winner = f[x]
					break
				end
			elseif numPlaying == 0 then
				winner = god
				break
			end
			numPlaying = 0
		end
	end