of     1   

DevRoboticTerrorist
#149946644Monday, November 17, 2014 4:10 PM GMT

Moral of everything: dis dont work fix pls if game.Workspace.player.Character.Humanoid == 0 then game.Workspace.player.Character.Humanoid:remove() end
JarodOfOrbiter
#149946662Monday, November 17, 2014 4:10 PM GMT

That works really well, actually, assuming Character.Humanoid is a property which is a number value...
DevRoboticTerrorist
#149946748Monday, November 17, 2014 4:13 PM GMT

@jardod But it doesn't work. Character.Humanoid is the players humanoid.
MrEpic534
#149946875Monday, November 17, 2014 4:18 PM GMT

in a local script pls player = game.Players.LocalPlayer if game.Workspace.player.Character.Humanoid.Health == 0 then game.Workspace.player.Character:remove() end if it doesnt work please tell me and with a output please :)
TehIcyStar
#149946909Monday, November 17, 2014 4:19 PM GMT

@op POP QUIZ! what is humanoid? A. An object inside character B. A table C. A number D. A function
DevRoboticTerrorist
#149946991Monday, November 17, 2014 4:22 PM GMT

@Teh I would say A, but I have a feeling this is only leading to a insult.
DevRoboticTerrorist
#149947008Monday, November 17, 2014 4:23 PM GMT

@MrEpic Doesn't work and there is no output.
JarodOfOrbiter
#149947086Monday, November 17, 2014 4:26 PM GMT

It is a logic error, if there is no output. Well Humanoid is a Humanoid, so Humanoid can't equal 0, since Humanoid is a userdata.
MrEpic534
#149947371Monday, November 17, 2014 4:36 PM GMT

player = game.Players.LocalPlayer if player.Character.Humanoid.Health == 0 then game.Workspace.player.Character:remove() end try ow
Rengor
#149948254Monday, November 17, 2014 5:06 PM GMT

instead of game.Workspace.player.Character:remove() use game.Workspace.player.Character:Destroy()
eLunate
#149948626Monday, November 17, 2014 5:19 PM GMT

In Roblox, a Humanoid is a userdata value linked to a class back in the C wrapper. This particular class inherits from Instance, and is designed to behave just like a table in order to give it hierarchy behaviour. Do I win?
ByDefault
#149948778Monday, November 17, 2014 5:24 PM GMT

none of your guys' code will work, here: local plr = game.Players.LocalPlayer local h = plr.Character:WaitForChild("Humanoid") h.Changed:connect(function(s) if h.Health <= 0 then plr.Character:remove() end end)
anaIyze
#149951227Monday, November 17, 2014 6:41 PM GMT

lolololol lol=game.Players.localPlayer; lol.Character.Humanoid.Died:connect(function() if(lol.Character~=nil and lol.Character.Humanoid.Health==0)then lol.Character.Humanoid:remove''; end;end);

    of     1