function onTouched(hit) if hit.Name == "H1" then if script.Parent.Parent.DoorL.Value == false then script.Parent.Parent.DoorL.Value = true wait(60) script.Parent.Parent.DoorL.Value = false end end script.Parent.Parent.Touched:connect(onTouched)
What is wrong with it? Like, what is going wrong? Also, check your Hierarchy, make sure that is correct. (Only answering because commenting doesn't work for me.)