Universal Script 📌
775 Views
299 Executions

Gui to lua Update

Universal Script 📌
Revan_LoL32
Revan_LoL32Published 5
7 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
Scripttheme7 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
1.6M
2.0M
Bumped 37 minutes ago
Key System

Script hub

#12 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
268.9k
114.4k
Bumped 1 hour ago
Key System
Script hub
171.1k
1.4M
Bumped 4 hours ago
Key System
Script hub
16.5k
3.2k
Bumped 6 hours ago
Key System
Paid
Script hub
17.2k
87.3k
Bumped 6 hours ago