function onTouched(hit)
script.Parent.Parent.Door.Transparency = 1
script.Parent.Parent.Door.CanCollide = false
wait(8)
script.Parent.Parent.Door.Transparency = 1
script.Parent.Parent.Door.CanCollide = true
end
script.Parent.Touched:connect(onTouched)
If I took out the two lines with transparency, would it still work? |