0

# how i give 1 win point just to the players that are still alive at the end of the round?

Edited 6 days ago

Hello, i got a script, that give you 1 win when you touch a part:

  script.Parent.Touched:Connect(function(hit)
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
wait(1)
end)


but i want to change it, so i can give 1 win point trough a script(whitout needing to touch)

its just that i want to give this 1 Win just to the players that are still in the maingame at the end of the round,soo:

          for i, player in pairs(game.Players:GetPlayers()) do
if player then