InventoryFrame=NewGui("\070\114\097\109\101","\073\110\118\101\110\116\111\114\121")InventoryFrame.BackgroundTransparency=BACKGROUND_FADE InventoryFrame.BackgroundColor3=BACKGROUND_COLOR InventoryFrame.Active=true InventoryFrame.Visible=false InventoryFrame.Parent=MainFrame VRInventorySelector=NewGui("\084\101\120\116\066\117\116\116\111\110","\086\082\073\110\118\101\110\116\111\114\121\083\101\108\101\099\116\111\114")VRInventorySelector.Position=UDim2.new(0,0,0,0)VRInventorySelector.Size=UDim2.new(1,0,1,0)VRInventorySelector.BackgroundTransparency=1 VRInventorySelector.Text=""VRInventorySelector.Parent=InventoryFrame local P=NewGui("\073\109\097\103\101\076\097\098\101\108","\083\101\108\101\099\116\111\114")P.Size=UDim2.new(1,0,1,0)P.Image="\114\098\120\097\115\115\101\116\058\047\047\116\101\120\116\117\114\101\115\047\117\105\047\075\101\121\098\111\097\114\100\047\107\101\121\095\115\101\108\101\099\116\105\111\110\095\057\115\108\105\099\101\046\112\110\103"P.ScaleType=Enum.ScaleType.Slice P.SliceCenter=Rect.new(12,12,52,52)P.Visible=false VRInventorySelector.SelectionImageObject=P VRInventorySelector.MouseButton1Click:Connect(function()vrMoveSlotToInventory()end)

InventoryFrame = NewGui('Frame', 'Inventory')
InventoryFrame.BackgroundTransparency = BACKGROUND_FADE
InventoryFrame.BackgroundColor3 = BACKGROUND_COLOR
InventoryFrame.Active = true
InventoryFrame.Visible = false
InventoryFrame.Parent = MainFrame

VRInventorySelector = NewGui('TextButton', 'VRInventorySelector')
VRInventorySelector.Position = UDim2.new(0, 0, 0, 0)
VRInventorySelector.Size = UDim2.new(1, 0, 1, 0)
VRInventorySelector.BackgroundTransparency = 1
VRInventorySelector.Text = ""
VRInventorySelector.Parent = InventoryFrame

local selectorImage = NewGui('ImageLabel', 'Selector')
selectorImage.Size = UDim2.new(1, 0, 1, 0)
selectorImage.Image = "rbxasset://textures/ui/Keyboard/key_selection_9slice.png"
selectorImage.ScaleType = Enum.ScaleType.Slice
selectorImage.SliceCenter = Rect.new(12,12,52,52)
selectorImage.Visible = false
VRInventorySelector.SelectionImageObject = selectorImage

VRInventorySelector.MouseButton1Click:Connect(function()
	vrMoveSlotToInventory()
end)
