of     1   

y1p
#185157533Friday, March 11, 2016 11:39 PM GMT

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
y1p
#185158039Friday, March 11, 2016 11:48 PM GMT

b1
benthanh123
#185158109Friday, March 11, 2016 11:49 PM GMT

if hit.Parent:findFirstChild("Humanoid").Parent["Gas Mask"] == nil then
benthanh123
#185158174Friday, March 11, 2016 11:50 PM GMT

should be if hit.Parent:FindFirstChild("Humanoid") and hit.Parent:FindFirstChild("Gas Mask") == nil then
y1p
#185159031Saturday, March 12, 2016 12:05 AM GMT

thx

    of     1