#Humanoid.Died does not trigger

1 messages · Page 1 of 1 (latest)

quaint arrowBOT
#

studio** You are now Level 1! **studio

loud knot
#

3```lua
for i, plr in pairs(game.Players:GetPlayers()) do
if plr.Team == playingPlrs then
local char = plr.Character or plr.CharacterAdded:Wait()
char.Humanoid.Died:Connect(function()
print('Player died, removing player count...')
plr.Team = game.Teams.Lobby

            playingPlrs = #playingTeam:GetPlayers()
            subTitle.Value = "Players left: " .. playingPlrs
            map.PlayersAlive.Value = playingPlrs
        end)
    end
end
#

this is the code

queen topaz
#

is the if statement getting triggered? try printing to see

#

"if plr.Team == **playingPlrs **then"
"**playingPlrs **= #playingTeam:GetPlayers()"

loud knot
#

yes it is getting trigered

#

wait hold on

#

ok i didnt noticed it was a misspell