Universal Script 📌
1.1k Views
782 Executions

Hotbar Tribe Survival

Universal Script 📌
Wett
WettFirst script
4 months ago
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

Hỗ trợ thay đổi hotbar

View Raw
-- WET HOTBAR MOBILE💧 -- HỆ THỐNG ĐIỀU KHIỂN HOTBAR V9 - MINIMALIST (QUICK FOOD SIZE UPDATE)
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

if CoreGui:FindFirstChild("MinimalistHotbarMenu") then CoreGui.MinimalistHotbarMenu:Destroy() end

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "MinimalistHotbarMenu"
ScreenGui.ResetOnSpawn = false
if not pcall(function() ScreenGui.Parent = CoreGui end) then ScreenGui.Parent = PlayerGui end

-- BỘ BIẾN LOGIC
local offsetX, offsetY = 0, 0
local step = 20
local foodSizeMultiplier = 1.0 
local isEpViTriActive = true 

-- HÀM ÉP VỊ TRÍ & PHÓNG TO QUICK FOOD
local function applyNewPosition()
    if not isEpViTriActive then return end 
    pcall(function()
        for _, obj in ipairs(PlayerGui:GetDescendants()) do
            if obj:IsA("GuiObject") then
                local name = obj.Name:lower()
                -- 1. Ép vị trí thanh Hotbar chính
                if name == "hotbar" or name == "mainbar" or name == "bottombar" or name == "inventorybar" or name == "slots" then
                    if obj.Parent then
                        local layout = obj.Parent:FindFirstChildOfClass("UIListLayout") or obj.Parent:FindFirstChildOfClass("UIGridLayout")
                        if layout then layout.Enabled = false end
                    end
                    obj.AnchorPoint = Vector2.new(0.5, 1)
                    obj.Position = UDim2.new(0.5, offsetX, 1, -60 + offsetY)
                end
                
                -- 2. Dò quét và phóng to riêng ô Quick Food
                if name:find("food") or name:find("eat") or name:find("heal") or name == "quickfood" then
                    if not obj:GetAttribute("OriginalSizeX") then


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
9.6k
70.5k
Bumped 4 minutes ago
Key System
Script hub
186.9k
1.9M
Bumped 2 hours ago
Key System

Script hub

#13 this week

Verified script badgeAirflow HUB

Script hub
602.2k
52.8k
Bumped 2 hours ago
Script hub
45.6k
11.1k
Bumped 3 hours ago
Key System
Paid

Script hub

#25 this month

Verified script badgeZekeHub - 58 Games, 1,300+ Features

Universal Script 📌
52
4
Approved 3 hours ago