Universal Script 📌
1.3k Views
2.6k Executions

Mobile Inventory Extender

Universal Script 📌
Ninja63_ByMyBuyBye
Ninja63_ByMyBuyBye10K executions
2 months ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

A script designed to extend the standard hotbar slots for mobile

Updates

  1. Script edited: Edited during review before approval

  2. Script edited: Edited during review before approval

View Raw
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")
local VoiceChatService = game:GetService("VoiceChatService")
local player = Players.LocalPlayer

-- System Configuration
local MAX_HOTBAR = 5 
local clickThreshold = 15 
local SLOT_SIZE = 48 
local SLOT_PADDING = 10 
local INV_SLOT_SIZE = 50 

-- Tool Tracking State
local hotbarList = {}
local inventoryList = {}
local currentSearchText = ""

-- Feature States
local canMoveIcons = false
local canMoveHotbar = false

-- 1. Disable the default Roblox backpack UI
pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) end)

-- 2. Create the ScreenGui Container
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "DeltaInventorySystem"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true 
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Forward declaration for UI update & Revert function
local renderUI
local function revertToDefault()
    pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true) end)
    if screenGui then
        screenGui:Destroy()
    end
end


Comments

1
Log in to join the conversation. Login
7wb3's profile picture
7wb32 months ago

finally an useful one

2

Tags

More universal scripts

See all
Universal Script 📌
1.3M
591.6k
Bumped 2 hours ago
Script hub
2.5k
19.4k
Bumped 3 hours ago
Universal Script 📌
283
359
Approved 4 hours ago
Universal Script 📌
69
552
Approved 5 hours ago
Universal Script 📌
91
72
Approved 5 hours ago
Script hub
105
329
Approved 6 hours ago
Key System