I know how to get the parents but its not killing a player when they click on that ImageButton
function Clicked(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
hum.Health = 0
end
end
script.Parent.MouseButton1Down:connect(Clicked)
