Universal Script 📌
810 Views
401 Executions

Gui to lua Update

Universal Script 📌
Revan_LoL32
Revan_LoL32Published 5
8 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

Gui creator beta

View Raw
local guiName = "ScreenGui"

local player = game.Players.LocalPlayer
local gui = player.PlayerGui:FindFirstChild(guiName)

if not gui then
    warn("you don't have GUI skid")
    return
end

local function fixName(name)
    name = name:gsub("%s+", "_")
    name = name:gsub("[^%w_]", "")
    if tonumber(name:sub(1,1)) then
        name = "obj_"..name
    end
    return name
end

local function udim2(u)
    return "UDim2.new("..u.X.Scale..","..u.X.Offset..","..u.Y.Scale..","..u.Y.Offset..")"
end

local function color3(c)
    return "Color3.fromRGB("..
        math.floor(c.R*255)..","..
        math.floor(c.G*255)..","..
        math.floor(c.B*255)..")"
end

local output = ""
local names = {}
local usedNames = {}

output = output..[[
local CoreGui = game:GetService("CoreGui")
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = CoreGui
ScreenGui.ResetOnSpawn = false



Comments

2
Log in to join the conversation. Login
Scripttheme's profile picture
Scripttheme8 months ago

Ini Script apa??

1
9x7x9x4x6_a's profile picture
9x7x9x4x6_a4 months ago

@Scripttheme dongo udah di bilang Gui to LUA malah naya

1

More universal scripts

See all
Script hub
2.4k
125.4k
Bumped 18 minutes ago

Script hub

#7 today

KeylessVerified script badgeNo Lag Hub | KEYLESS 2026

Script hub
52.8k
13.9k
Bumped 2 hours ago
Key System
Paid
Universal Script 📌
87
225
Approved 5 hours ago
Key System
Script hub
457.5k
956.8k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!