function onTouched(hit)
if hit.Parent:findFirstChild("Humanoid").Parent["Gas Mask"] == nil then
local p = hit.Parent:findFirstChild("Humanoid")
local a = game.ServerStorage["Gas Mask"]:Clone()
a.Parent = p.Parent
end
end
script.Parent.Touched:connect(onTouched)
^Script
vError
18:39:04.564 - Gas Mask is not a valid member of Model
18:39:04.565 - Script 'Workspace.Lava.Script', Line 2
18:39:04.566 - Stack End |