I tried using a simple kill brick script, but instead of touching it, I tried to make it so that the kill-code triggers when the player clicks it. I basically tried to make the start event comply with the ClickDetector.
script.Parent:mouseClick1(function(kill) local human = kill.Parent:findFirstChild("Humanoid") if human then human.Health = 0 end end) -- I added ClickDetector to the parent of this script.
Your problem here is you're using the wrong terms, 'mouseClick1' won't work,
Instead, change line 1 to this:
script.Parent:MouseButton1Click:Connect(function(kill)