local block = script.Parent
local function Health(player)
local Humanoid = player.Character:FindFirstChild("Humanoid")
if Humanoid then
wait(0.5)
local expl = Instance.new('Explosion')
expl.Position = block.Position
expl.BlastPressure = 20
expl.Parent = game.Workspace
Humanoid.Health = 0
end
end
script.Parent.ClickDetector.MouseClick:Connect(Health)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter