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(o)if Align==true then if string.len(o)==1 then SetLabel(1,o,.045)SetLabel(2,"\078\073\076",0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(o)==2 then SetLabel(1,o:sub(1,1),.03)SetLabel(2,o:sub(2,2),.03)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(o)==3 then SetLabel(1,o:sub(1,1),.015)SetLabel(2,o:sub(2,2),.015)SetLabel(3,o:sub(3,3),.015)SetLabel(4,"\078\073\076",0)elseif string.len(o)==4 then SetLabel(1,o:sub(1,1),0)SetLabel(2,o:sub(2,2),0)SetLabel(3,o:sub(3,3),0)SetLabel(4,o:sub(4,4),0)end else if string.len(o)==1 then SetLabel(1,o,0)SetLabel(2,"\078\073\076",0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(o)==2 then SetLabel(1,o:sub(1,1),0)SetLabel(2,o:sub(2,2),0)SetLabel(3,"\078\073\076",0)SetLabel(4,"\078\073\076",0)elseif string.len(o)==3 then SetLabel(1,o:sub(1,1),0)SetLabel(2,o:sub(2,2),0)SetLabel(3,o:sub(3,3),0)SetLabel(4,"\078\073\076",0)elseif string.len(o)==4 then SetLabel(1,o:sub(1,1),0)SetLabel(2,o:sub(2,2),0)SetLabel(3,o:sub(3,3),0)SetLabel(4,o:sub(4,4),0)end end end function SetLabel(o,v,j)if This:FindFirstChild("\066\082"..o)and Characters[v]~=nil then for v,j in pairs(Characters[v])do This["\066\082"..o].Mesh.MeshId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..j end if v=="\065"or v=="\049"then This["\066\082"..o].Mesh.Offset=Vector3.new(j-.006,0,-0.014)elseif v=="\066"or v=="\050"then This["\066\082"..o].Mesh.Offset=Vector3.new(j-.006,0,-0.006)elseif v=="\067"or v=="\051"then This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,-0.014)elseif v=="\068"or v=="\052"or v=="\069"or v=="\053"or v=="\070"or v=="\054"or v=="\071"or v=="\055"or v=="\072"or v=="\056"or v=="\073"or v=="\057"or v=="\074"or v=="\048"then This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,-0.006)elseif v=="\075"or v=="\076"then This["\066\082"..o].Mesh.Offset=Vector3.new(j-.006,0,0)elseif v=="\046"or v=="\043"then This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,.006)elseif v=="-"then This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,.014)elseif v=="\059"then This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,.006)elseif v=="\042"then This["\066\082"..o].Mesh.Offset=Vector3.new(j+.006,0,0)else This["\066\082"..o].Mesh.Offset=Vector3.new(j,0,0)end end end ChangeFloor("\085\080")script:Destroy()
-- BrailleGen 3D BETA

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()
