--I have been having much trouble trying to figure out what's wrong --Here is some of my code
for i = GameLength,0,-1 do
for x, player in pairs(plrs) do
if player then
character = player.Character
if not character then
else
if character:FindFirstChild("GameTag") then
print(player.Name.."is still in the game")
else
table.remove(plrs,x)
print(player.Name.." has died")
end
end
else
table.remove(plrs,x)
print(player.Name.." has died")
end
end
wait(1)
end
Status.Value = "there are "..i.." seconds remaining, and"..#plrs.."players left"
if #plrs == 1 then
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.Valuue = "you all died lol"
elseif i == 0 then
Status.Value = "times up haha"
break
end
wait(1)
end
wait(1)
end
print("game has ended")

3 comments
please put the code in the code tags so i can see it better, and tell me what the error is
you forgot an enclosing
endfor a block.if you're making questions, put code between `` marks.