GUI Creator [  not available ]
323 Views
1.1k Executions

Gui To Lua Roblox Studio

GUI Creator
Team_cZerkidd2
Team_cZerkidd210K executions
3 months ago
Please login to perform these actions:

Gui To Lua Roblox Studio is a GUI Creator script for Roblox, uploaded to ScriptBlox on Aug 28, 2026.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Gui To Lua

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 names = {}
local usedNames = {}
local descendants = gui:GetDescendants()

names[gui] = fixName(gui.Name)
usedNames[names[gui]] = true

for _, obj in ipairs(descendants) do
    local base = fixName(obj.Name)
    local var = base


Comments

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