(game:GetService("\083\116\097\114\116\101\114\071\117\105")):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)local L=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local m=game.Players.LocalPlayer local i=workspace:WaitForChild(m.Name)local M=m.Backpack local N=i:WaitForChild("\072\117\109\097\110\111\105\100")local T=script.Parent.Frame local x=T.Template local f=.2 local H=.7 local t=x.Size local b={x=15,y=5}local Y={One={txt="\049"},Two={txt="\050"},Three={txt="\051"};Four={txt="\052"},Five={txt="\053"},Six={txt="\054"};Seven={txt="\055"};Eight={txt="\056"},Nine={txt="\057"},Zero={txt="\048"}}local r={Y.One,Y.Two,Y.Three,Y.Four,Y.Five;Y.Six,Y.Seven,Y.Eight,Y.Nine,Y.Zero}


game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
 
 --< variables >--
local uis = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local char = workspace:WaitForChild(player.Name) -- added WaitForChild
local bp = player.Backpack
local hum = char:WaitForChild("Humanoid")
local frame = script.Parent.Frame
local template = frame.Template
local equipped = 0.2 -- icon transparencies
local unequipped = 0.7

local iconSize = template.Size
local iconBorder = {x = 15, y = 5} -- pixel space between icons

local inputKeys = { -- dictionary for effective referencing
	["One"] = {txt = "1"},
	["Two"] = {txt = "2"},
	["Three"] = {txt = "3"},
	["Four"] = {txt = "4"},
	["Five"] = {txt = "5"},
	["Six"] = {txt = "6"},
	["Seven"] = {txt = "7"},
	["Eight"] = {txt = "8"},
	["Nine"] = {txt = "9"},
	["Zero"] = {txt = "0"},
}

local inputOrder = { -- array for storing the order of the keys
	inputKeys["One"],inputKeys["Two"],inputKeys["Three"],inputKeys["Four"],inputKeys["Five"],
	inputKeys["Six"],inputKeys["Seven"],inputKeys["Eight"],inputKeys["Nine"],inputKeys["Zero"],
}
	