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(a)if string.len(a)==1 then SetLabel(1,a,-0.04)SetLabel(2,"\078\073\076",0)else SetLabel(1,a:sub(1,1),0)SetLabel(2,a:sub(2,2),0)end end function SetLabel(a,s,z)if This:FindFirstChild("\076"..a)and Characters[s]~=nil then This["\076"..a].Mesh.Offset=Vector3.new(z,0,0)for s,z in pairs(Characters[s])do This["\076"..a].Mesh.MeshId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..z end This["\076"..a].Mesh.Scale=Vector3.new(.005,.007,.019)end end if CustomLabel then ChangeFloor(CustomLabel)else ChangeFloor(Btn.Name)end script:Destroy()


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 string.len(SF) == 1 then
		SetLabel(1,SF,-0.04)	
		SetLabel(2,"NIL",0)
	else
		SetLabel(1,SF:sub(1,1),0)	
		SetLabel(2,SF:sub(2,2),0)
	end
end


function SetLabel(ID,CHAR,OFFSET)
	if This:FindFirstChild("L"..ID) and Characters[CHAR] ~= nil then
		This["L"..ID].Mesh.Offset = Vector3.new(OFFSET, 0, 0)
		for i,l in pairs(Characters[CHAR]) do 
			This["L"..ID].Mesh.MeshId = "rbxassetid://"..l
		end
		This["L"..ID].Mesh.Scale = Vector3.new(0.005, 0.007, 0.019)
	end
end


if CustomLabel then
	ChangeFloor(CustomLabel)
else
	ChangeFloor(Btn.Name)
end

script:Destroy()
