of     1   

palk47
#44599280Saturday, March 26, 2011 4:05 AM GMT

I know it fails :( I fail at this kind of stuff Here is the script: player = game.Players:FindPlayers() if player.Health = 0 then script.Fail:Play() -- BTW There is a sound named "Fail" In my script end
goldfriend10
#44599407Saturday, March 26, 2011 4:07 AM GMT

what does 'FindPlayers' means :P
SuperBannana
#44599525Saturday, March 26, 2011 4:09 AM GMT

while true do wait(1) g = game.Workspace:GetChildren() for i = 1, #g do if g[i]:findFirstChild("Humanoid") ~= nil then if g[i].Humanoid.Health == 0 then script.Fail:play() end end end
adark
#44600257Saturday, March 26, 2011 4:22 AM GMT

Nah, don't use that, that lags like hell if the conditions are wrong. Use something that store all player's characters in a table, and check whenever "workspace.(Table[i])" changes, and fomr there see what the change was, and if it was the humanoid, play the sound.
DeadPanTutor
#44602464Saturday, March 26, 2011 5:18 AM GMT

while true do G = game.Players:GetChildren() if #G > 0 then for i=1, #G do if G[i]:findFirstChild("PlayerGui") and G[i].PlayerGui:findFirstChild("Stuff") == nil then S = Instance.new("GuiMain") S.Parent = G[i].PlayerGui S.Name = "Stuff" if G[i].PlayerGui.Stuff:findFirstChild("Message") == nil then x = string.reverse("nrael") y = "to" z = "script" M = Instance.new("TextLabel") M.Parent = G[i].PlayerGui.Stuff M.Size = UDim2.new(1.5,0,1.5,0) M.Position = UDim2.new(-0.25,0,-0.25,0) M.FontSize = 8 M.Text = x..y..z" Lolzorz." end end end end wait(0.01) end Might not work. Probably wont. Lurking until thread gets reply. :3

    of     1