of     1   

kakbroek1
#226981780Sunday, October 29, 2017 6:46 PM GMT

Why doesn't this Script inside 'Workspace' work? local Players = game.Players:GetPlayers() while wait() do for i = 1, #Players do if Players[i].Character then if Players[i].Character.Humanoid.Health == 0 then Players[i]:WaitForChild("Playing", 100).Value = false --Boolvalue called 'Playing' inside the Player end end end end
VGamesPortal
#226982037Sunday, October 29, 2017 6:51 PM GMT

Because you can't script
ExtremeBuilder15
#226982110Sunday, October 29, 2017 6:53 PM GMT

the Players var never updates while true do wait() local Players = game.Players:GetPlayers() for i,v in pairs(Players) do -- numeric for works as well if v.Character and v.Character.Humanoid.Health == 0 then v:WaitForChild("Playing",100).Value = false end end end If you're trying to do something when the player dies, perhaps you'd be better connecting events game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) char.Humanoid.Died:connect(function() if player:FindFirstChild("Playing") then player.Playing.Value = false end end) end) end)
kakbroek1
#226982216Sunday, October 29, 2017 6:55 PM GMT

Thanks alot!
VGamesPortal
#226982350Sunday, October 29, 2017 6:58 PM GMT

Get out of here and never come back until you learn how to script
kakbroek1
#226982470Sunday, October 29, 2017 7:01 PM GMT

Everybody who is trying new things has trouble finding things out. At least I try. If I fail, I fail. This forum is meant for people who need some help, doesn't matter how skilled you are. So if you think you're better than everyone else, #####
ivikinch
#226982489Sunday, October 29, 2017 7:01 PM GMT

Lol so friendly people around posts
kakbroek1
#226982598Sunday, October 29, 2017 7:04 PM GMT

Am I right? I want to be friendly... but why don't people give beginning learners a chance???
VGamesPortal
#226982672Sunday, October 29, 2017 7:05 PM GMT

What's that? Pipsqueak I'll shuv them words right up where the Sun doesn't shine
ExtremeBuilder15
#226982749Sunday, October 29, 2017 7:07 PM GMT

just ignore vgames he's trying to bait everyone
kakbroek1
#226984073Sunday, October 29, 2017 7:34 PM GMT

Okay!
K7Q
#226984103Sunday, October 29, 2017 7:35 PM GMT

vgames is troll af ignore him

    of     1