Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

local part = script.Parent

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

1 answer

Log in to vote
0
Answered by 4 years ago

click = the player so you would say...

local part = script.Parent

part.ClickDetector.MouseClick:Connect(function(click) click.Character.Humanoid.Health = 0 end)
0
thanks jamison1212 2 — 4y
Ad

Answer this question