Apparently
local Door = script.Parent
function onTouch(Door)
Brick = Brick.Parent:findFirstChild("Humanoid")
Parent.Torso.Texture = "http://www.roblox.com/asset/?id=2133323"
if (Player ~= nil) then
Player.Health = 0
end
end
Door.Touched:connect(onTouch)
it isn't working..

1 comment
The code and its tildas have to be on their own lines. Please edit your post to correct the formatting