of     1   

Ignite_OneTime
#190031978Monday, May 30, 2016 12:55 AM GMT

function onclick(part) local h = part.Parent:FindFirstChild("Humanoid") if h~=nil then h.Health = 0 end end script.Parent.ClickDetector.MouseClick:connect(onclick)
Egtix
#190034195Monday, May 30, 2016 1:28 AM GMT

script.Parent.ClickDetector.MouseClick:connect(function(Player) Player.Character.Humanoid.Health = 0 end) ᵈᵃᶰᶤᵉˡ
2eggnog
#190034238Monday, May 30, 2016 1:28 AM GMT

MouseClick passes the player as an argument, not a part.

    of     1