
1.1k Views
782 Executions
Hotbar Tribe Survival
Universal Script 📌
WettFirst script
4 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
Hỗ trợ thay đổi hotbar
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!







