Door = game.Workspace.DoorPart function onTouch(DoorPart) Door.Transparency = 0.5 Door.CanCollide = false wait(5) Door.Transparency = 0 Door.CanCollide = true end script.Parent.Touched:connect(onTouch)
Just checking. :3
Yes. "Part" is a common name though, you should probably change it to remove the chance of confusion.