Put the code I'm about to give you, inside a script in the lava brick:
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
humanoid:TakeDamage(10)
end
end)
--if you would like the brick to instantly kill, replace 10 with 100 or however much maximum health your player would normally have
Hope this helps, good luck! |