Here is my current script. If you can then make a script that is an animated door.

local DarklightDoor = script.Parent
if game.Workspace.ActivationLights.Material == Enum.Material.Neon then
	Transparency = 1
end