local part = script.Parent
part.ClickDetector.MouseClick:Connect(function(click) click.Parent.Humanoid.Health = 0 end)
local part = script.Parent
part.ClickDetector.MouseClick:Connect(function(click) click.Parent.Humanoid.Health = 0 end)
click = the player so you would say...
local part = script.Parent
part.ClickDetector.MouseClick:Connect(function(click) click.Character.Humanoid.Health = 0 end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
thanks