Align=true This=script.Parent Btn=This.Parent Lift=Btn.Parent.Parent.Parent Config=require(Lift.CustomLabel)Characters=require(script.Characters)CustomLabel=Config.CUSTOMFLOORLABEL[tonumber(Btn.Name)]function ChangeFloor(T)if Align==true then if string.len(T)==1 then SetLabel(1,T,.045)SetLabel(2,"\078\073\076",0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(T)==2 then SetLabel(1,T:sub(1,1),.03)SetLabel(2,T:sub(2,2),.03)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(T)==3 then SetLabel(1,T:sub(1,1),.015)SetLabel(2,T:sub(2,2),.015)SetLabel(3,T:sub(3,3),.015)SetLabel(4,"\078\073\076",0)elseif string.len(T)==4 then SetLabel(1,T:sub(1,1),0)SetLabel(2,T:sub(2,2),0)SetLabel(3,T:sub(3,3),0)SetLabel(4,T:sub(4,4),0)end else if string.len(T)==1 then SetLabel(1,T,0)SetLabel(2,"\078\073\076",0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(T)==2 then SetLabel(1,T:sub(1,1),0)SetLabel(2,T:sub(2,2),0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(T)==3 then SetLabel(1,T:sub(1,1),0)SetLabel(2,T:sub(2,2),0)SetLabel(3,T:sub(3,3),0)SetLabel(4,"\078\073\076",0)elseif string.len(T)==4 then SetLabel(1,T:sub(1,1),0)SetLabel(2,T:sub(2,2),0)SetLabel(3,T:sub(3,3),0)SetLabel(4,T:sub(4,4),0)end end end function SetLabel(T,N,e)if This:FindFirstChild("\066\082"..T)and Characters[N]~=nil then for N,e in pairs(Characters[N])do This["\066\082"..T].Mesh.MeshId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..e end if N=="\065"or N=="\049"then This["\066\082"..T].Mesh.Offset=Vector3.new(e-.006,0,-0.014)elseif N=="\066"or N=="\050"then This["\066\082"..T].Mesh.Offset=Vector3.new(e-.006,0,-0.006)elseif N=="\067"or N=="\051"then This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,-0.014)elseif N=="\068"or N=="\052"or N=="\069"or N=="\053"or N=="\070"or N=="\054"or N=="\071"or N=="\055"or N=="\072"or N=="\056"or N=="\073"or N=="\057"or N=="\074"or N=="\048"then This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,-0.006)elseif N=="\075"or N=="\076"then This["\066\082"..T].Mesh.Offset=Vector3.new(e-.006,0,0)elseif N=="\046"or N=="\043"then This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,.006)elseif N=="-"then This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,.014)elseif N=="\059"then This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,.006)elseif N=="\042"then This["\066\082"..T].Mesh.Offset=Vector3.new(e+.006,0,0)else This["\066\082"..T].Mesh.Offset=Vector3.new(e,0,0)end end end ChangeFloor("\085\080")script:Destroy()


Align = true

This = script.Parent
Btn = This.Parent
Lift = Btn.Parent.Parent.Parent
Config = require(Lift.CustomLabel)
Characters = require(script.Characters)

CustomLabel = Config["CUSTOMFLOORLABEL"][tonumber(Btn.Name)]

function ChangeFloor(SF)
	if Align == true then
		if string.len(SF) == 1 then
			SetLabel(1,SF,0.045)	
			SetLabel(2,"NIL",0)
			SetLabel(3,"NIL",0)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 2 then
			SetLabel(1,SF:sub(1,1),0.03)	
			SetLabel(2,SF:sub(2,2),0.03)
			SetLabel(3,"NIL",0)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 3 then
			SetLabel(1,SF:sub(1,1),0.015)	
			SetLabel(2,SF:sub(2,2),0.015)
			SetLabel(3,SF:sub(3,3),0.015)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 4 then
			SetLabel(1,SF:sub(1,1),0)	
			SetLabel(2,SF:sub(2,2),0)
			SetLabel(3,SF:sub(3,3),0)
			SetLabel(4,SF:sub(4,4),0)
		end
	else
		if string.len(SF) == 1 then
			SetLabel(1,SF,0)	
			SetLabel(2,"NIL",0)
			SetLabel(3,"NIL",0)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 2 then
			SetLabel(1,SF:sub(1,1),0)	
			SetLabel(2,SF:sub(2,2),0)
			SetLabel(3,"NIL",0)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 3 then
			SetLabel(1,SF:sub(1,1),0)	
			SetLabel(2,SF:sub(2,2),0)
			SetLabel(3,SF:sub(3,3),0)
			SetLabel(4,"NIL",0)
		elseif string.len(SF) == 4 then
			SetLabel(1,SF:sub(1,1),0)	
			SetLabel(2,SF:sub(2,2),0)
			SetLabel(3,SF:sub(3,3),0)
			SetLabel(4,SF:sub(4,4),0)
		end
	end
end


function SetLabel(ID,CHAR,OFFSET)
	if This:FindFirstChild("BR"..ID) and Characters[CHAR] ~= nil then
		for i,l in pairs(Characters[CHAR]) do 
			This["BR"..ID].Mesh.MeshId = "rbxassetid://"..l
		end
		if CHAR == "A" or CHAR == "1" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET-0.006, 0, -0.014)
		elseif CHAR == "B" or CHAR == "2" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET-0.006, 0, -0.006)
		elseif CHAR == "C" or CHAR == "3" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, -0.014)
		elseif CHAR == "D" or CHAR == "4" or CHAR == "E" or CHAR == "5" or CHAR == "F" or CHAR == "6" or CHAR == "G" or CHAR == "7" or CHAR == "H" or CHAR == "8" or CHAR == "I" or CHAR == "9" or CHAR == "J" or CHAR == "0" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, -0.006)
		elseif CHAR == "K" or CHAR == "L" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET-0.006, 0, 0)
		elseif CHAR == "." or CHAR == "+" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, 0.006)
		elseif CHAR == "-" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, 0.014)
		elseif CHAR == ";" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, 0.006)
		elseif CHAR == "*" then
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET+0.006, 0, 0)
		else
			This["BR"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, 0)
		end
	end
end


ChangeFloor("UP")

script:Destroy()
