
569 Views
66 Executions
Inventory
Universal Script 📌
Akage_JPNFirst script
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
For friend
--====================================================
-- Unified Item Slot System (Stable Final)
--====================================================
--========== Services ==========
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
--========== Disable default hotbar ==========
pcall(function()
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
end)
--========== State ==========
local MAX_SLOTS = 10
local SlotLimit = 4
local slots = {}
local EquippedSlot = nil
local KeepEquip = false
local SlotType = "Normal" -- Normal / Ghost
local LastEquippedTool = nil
--========== GUI root ==========
local gui = Instance.new("ScreenGui")
gui.Name = "UnifiedItemSlotGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
--========== Toggle line button ==========
local toggleBtn = Instance.new("TextButton", gui)
toggleBtn.Size = UDim2.fromScale(0.2, 0.015)
toggleBtn.Position = UDim2.fromScale(0.4, 0.85)
toggleBtn.Text = ""
toggleBtn.BackgroundColor3 = Color3.fromRGB(120,120,120)
toggleBtn.BackgroundTransparency = 0.4
Instance.new("UICorner", toggleBtn)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







