Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

when i click the brick it doesnt kill me please review and tell me whats the problem?

local part = script.Parent

part.ClickDetector.MouseClick:Connect(function(click) click.Parent.Humanoid.Health = 0 end)

1 answer

✓ Accepted answer

click = the player so you would say...

local part = script.Parent

part.ClickDetector.MouseClick:Connect(function(click) click.Character.Humanoid.Health = 0 end)

1 comment

0

thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.