Welcome to my website where you can take the code for the Lava bricks in my Obby game for the 110% Gaming magazine. Copy the code below and paste it into your script, which must be placed inside your Lava bricks!
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid:TakeDamage(hit.Parent.Humanoid.MaxHealth)
end
end)
Become an AlvinBlox Channel Member and benefit from a range of perks!