This=script.Parent Elevator=This.Parent.Parent.Parent CustomLabel=require(This.Parent.Parent.Parent.CustomLabel)Characters=require(script.Characters)CustomText=CustomLabel.CUSTOMFLOORLABEL;(Elevator:WaitForChild("\070\108\111\111\114")).Changed:connect(function(I)ChangeFloor(tostring(I))end)function ChangeFloor(I)if CustomText[tonumber(I)]then I=CustomText[tonumber(I)]end SetDisplay(1,string.len(I)==2 and I:sub(1,1)or"\078\073\076")SetDisplay(2,string.len(I)==2 and I:sub(2,2)or I)end function SetDisplay(I,O)if This.Display:FindFirstChild("\068\073\071"..I)and Characters[O]~=nil then for O,o in pairs(Characters[O])do for O=1,7,1 do This.Display["\068\073\071"..I]["\068"..O].Transparency=o:sub(O,O)=="\049"and 0 or.99 end end end end


This = script.Parent
Elevator = This.Parent.Parent.Parent
CustomLabel = require(This.Parent.Parent.Parent.CustomLabel)
Characters = require(script.Characters)

CustomText = CustomLabel["CUSTOMFLOORLABEL"]

Elevator:WaitForChild("Floor").Changed:connect(function(floor)
  --custom indicator code--
  ChangeFloor(tostring(floor))
end)

function ChangeFloor(SF)
	if CustomText[tonumber(SF)] then
		SF = CustomText[tonumber(SF)]
	end
	SetDisplay(1,(string.len(SF) == 2 and SF:sub(1,1) or "NIL"))		
	SetDisplay(2,(string.len(SF) == 2 and SF:sub(2,2) or SF))
end



function SetDisplay(ID,CHAR)
	if This.Display:FindFirstChild("DIG"..ID) and Characters[CHAR] ~= nil then
 		for i,l in pairs(Characters[CHAR]) do 
			for r=1,7 do	
				This.Display["DIG"..ID]["D"..r].Transparency = (l:sub(r,r) == "1" and 0 or 0.99)
			end
		end
	end
end

