Universal Script πŸ“Œ
289 Views
14 Executions

SIMPLE UI MADE BY ME OPENSOURCE CODE

Universal Script πŸ“Œ
scriptrblxhub
scriptrblxhubFirst script
10 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

this are UI for everyone who lazy make own UI i'll give my simple UI πŸ‘

View Raw
-- Services
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "UniversalUIGUI"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.ResetOnSpawn = false

task.wait(0.1)

local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 400, 0, 300)
mainFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 50)
mainFrame.BorderSizePixel = 0
mainFrame.ClipsDescendants = true
mainFrame.Parent = screenGui

local function centerFrame()
    if not screenGui or not mainFrame then return end
    if not screenGui.AbsoluteSize or not mainFrame.AbsoluteSize then return end
    
    local screenSize = screenGui.AbsoluteSize
    local frameSize = mainFrame.AbsoluteSize
    
    if screenSize.X > 0 and frameSize.X > 0 then
        local centerX = (screenSize.X - frameSize.X) / 2
        local centerY = (screenSize.Y - frameSize.Y) / 2
        
        mainFrame.Position = UDim2.fromOffset(centerX, centerY)
    end
end

task.spawn(function()
    task.wait(0.2)
    if mainFrame and mainFrame.Parent then


Comments

2
Log in to join the conversation. Login
gl1tchkidd's profile picture
gl1tchkidd10 months ago

i will not use this skidded * ui who was made by ai

1
M0nkeyDLuffy's profile picture
M0nkeyDLuffy10 months ago

Mf make a Ui using Ai and suddenly bro's a scripter🀣

1

More universal scripts

See all
Universal Script πŸ“Œ
1.0k
4.6k
Bumped 2 hours ago
Script hub
75.0k
250.8k
Bumped 2 hours ago
Key System
Script hub
301.0k
1.0M
Bumped 3 hours ago
Key System

Script hub

#18 this month

Verified script badgeAxon Hub | 100+ Games & 3900+ Features

Script hub
17.5k
89.8k
Bumped 7 hours ago
Universal Script πŸ“Œ
36.9k
1.1M
Bumped 7 hours ago