Lava

Models · by Brixborg

Touch it and you are knocked out. Has a short script inside.

Use it in your games: in the studio, open View > Archive, go to the Models shelf and pick "Lava".

The script

-- Anyone who touches this part is knocked out.
-- (script.Parent is the part this script is inside.)
local lava = script.Parent

lava.Touched:connect(function(hit)
  local humanoid = hit.Parent and hit.Parent:FindFirstChild("Humanoid")
  if humanoid then
    humanoid.Health = 0
  end
end)

More models