Well, hello! I’m trying to make a killbrick script but something is certainly wrong with it what did I do wrong?
local KillBrick = script.Parent
Part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild(“Humanoid”) then
hit.Parent.Humanoid.Health.0
end)

2 comments
Thank you so much for helping me, I need a end for if statement too?
Yes.