---------------------------------------------------


This = script.Parent
Elevator = This.Parent.Parent.Parent

Elevator:WaitForChild("Direction").Changed:connect(function(val)
    if val == 1 then
		This.Up.Light.BrickColor = This.Up.ActiveColor.Value
		This.Up.Light.Material = "Neon"
		This.Down.Light.BrickColor = This.Down.InactiveColor.Value
		This.Down.Light.Material = "SmoothPlastic"
    elseif val == -1 then
		This.Up.Light.BrickColor = This.Up.InactiveColor.Value
		This.Up.Light.Material = "SmoothPlastic"
		This.Down.Light.BrickColor = This.Down.ActiveColor.Value
		This.Down.Light.Material = "Neon"
	else
		This.Up.Light.BrickColor = This.Up.InactiveColor.Value
		This.Up.Light.Material = "SmoothPlastic"
		This.Down.Light.BrickColor = This.Down.InactiveColor.Value
		This.Down.Light.Material = "SmoothPlastic"
    end
end)
