0% found this document useful (0 votes)
89 views37 pages

F3X GUI Script for Roblox

The document outlines a Lua script for creating a GUI in Roblox, which includes various buttons for functionalities such as 'skybox', 'shutdown', and 'kill all'. Each button is linked to specific commands that interact with the game's server. The script also includes functionality for dragging the GUI around the screen using mouse input.

Uploaded by

ahsanridho67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views37 pages

F3X GUI Script for Roblox

The document outlines a Lua script for creating a GUI in Roblox, which includes various buttons for functionalities such as 'skybox', 'shutdown', and 'kill all'. Each button is linked to specific commands that interact with the game's server. The script also includes functionality for dragging the GUI around the screen using mouse input.

Uploaded by

ahsanridho67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local _453foeiwn4326453ygb = Instance.

new("ScreenGui")
local _432vdsfui453564 = [Link]("Frame")
local _123 = [Link]("ImageLabel")
local TextLabel = [Link]("TextLabel")
local TextButton = [Link]("TextButton")
local TextButton_2 = [Link]("TextButton")
local TextButton_3 = [Link]("TextButton")
local TextButton_4 = [Link]("TextButton")
local TextButton_5 = [Link]("TextButton")
local TextButton_6 = [Link]("TextButton")
local TextButton_7 = [Link]("TextButton")
local button = [Link]("TextButton")
local TextButton_8 = [Link]("TextButton")
local button_2 = [Link]("TextButton")
local TextButton_9 = [Link]("TextButton")
local TextButton_10 = [Link]("TextButton")

--Properties:

_453foeiwn4326453ygb.Name = "453foeiwn4326453ygb"
_453foeiwn4326453ygb.Parent = [Link]:WaitForChild("PlayerGui")
_453foeiwn4326453ygb.ZIndexBehavior = [Link]
_453foeiwn4326453ygb.ResetOnSpawn = false

_432vdsfui453564.Name = "432vdsfui453564"
_432vdsfui453564.Parent = _453foeiwn4326453ygb
_432vdsfui453564.BackgroundColor3 = [Link](255, 255, 255)
_432vdsfui453564.BorderColor3 = [Link](0, 0, 0)
_432vdsfui453564.BorderSizePixel = 0
_432vdsfui453564.Position = [Link](0.61196208, 0, 0.347989947, 0)
_432vdsfui453564.Size = [Link](0, 340, 0, 417)

_123.Name = "123"
_123.Parent = _432vdsfui453564
_123.BackgroundColor3 = [Link](255, 255, 255)
_123.BorderColor3 = [Link](0, 0, 0)
_123.BorderSizePixel = 0
_123.Position = [Link](0, 0, 0.103117503, 0)
_123.Size = [Link](0, 340, 0, 374)
_123.Image = "rbxassetid://86300838490029"

[Link] = _432vdsfui453564
TextLabel.BackgroundColor3 = [Link](255, 255, 255)
TextLabel.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 340, 0, 38)
[Link] = [Link]
[Link] = "Acorn on top f3x gui v1"
TextLabel.TextColor3 = [Link](0, 0, 0)
[Link] = 35.000

[Link] = _432vdsfui453564
TextButton.BackgroundColor3 = [Link](91, 91, 91)
TextButton.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 0, 0.134292573, 0)
[Link] = [Link](0, 162, 0, 50)
[Link] = [Link]
[Link] = "skybox"
TextButton.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000

TextButton_2.Parent = _432vdsfui453564
TextButton_2.BackgroundColor3 = [Link](79, 79, 79)
TextButton_2.BorderColor3 = [Link](0, 0, 0)
TextButton_2.BorderSizePixel = 0
TextButton_2.Position = [Link](0.47647059, 0, 0.134292573, 0)
TextButton_2.Size = [Link](0, 178, 0, 50)
TextButton_2.Font = [Link]
TextButton_2.Text = "decal spam"
TextButton_2.TextColor3 = [Link](0, 0, 0)
TextButton_2.TextSize = 14.000

TextButton_3.Parent = _432vdsfui453564
TextButton_3.BackgroundColor3 = [Link](83, 83, 83)
TextButton_3.BorderColor3 = [Link](0, 0, 0)
TextButton_3.BorderSizePixel = 0
TextButton_3.Position = [Link](0, 0, 0.268585145, 0)
TextButton_3.Size = [Link](0, 162, 0, 50)
TextButton_3.Font = [Link]
TextButton_3.Text = "shutdown"
TextButton_3.TextColor3 = [Link](0, 0, 0)
TextButton_3.TextSize = 14.000

TextButton_4.Parent = _432vdsfui453564
TextButton_4.BackgroundColor3 = [Link](103, 103, 103)
TextButton_4.BorderColor3 = [Link](0, 0, 0)
TextButton_4.BorderSizePixel = 0
TextButton_4.Position = [Link](0.47647059, 0, 0.268585145, 0)
TextButton_4.Size = [Link](0, 178, 0, 50)
TextButton_4.Font = [Link]
TextButton_4.Text = "sound"
TextButton_4.TextColor3 = [Link](0, 0, 0)
TextButton_4.TextSize = 14.000

TextButton_5.Parent = _432vdsfui453564
TextButton_5.BackgroundColor3 = [Link](112, 112, 112)
TextButton_5.BorderColor3 = [Link](0, 0, 0)
TextButton_5.BorderSizePixel = 0
TextButton_5.Position = [Link](0, 0, 0.410071939, 0)
TextButton_5.Size = [Link](0, 162, 0, 50)
TextButton_5.Font = [Link]
TextButton_5.Text = "savemap"
TextButton_5.TextColor3 = [Link](0, 0, 0)
TextButton_5.TextSize = 14.000

TextButton_6.Parent = _432vdsfui453564
TextButton_6.BackgroundColor3 = [Link](100, 100, 100)
TextButton_6.BorderColor3 = [Link](0, 0, 0)
TextButton_6.BorderSizePixel = 0
TextButton_6.Position = [Link](0.47647059, 0, 0.410071939, 0)
TextButton_6.Size = [Link](0, 178, 0, 50)
TextButton_6.Font = [Link]
TextButton_6.Text = "kill all"
TextButton_6.TextColor3 = [Link](0, 0, 0)
TextButton_6.TextSize = 14.000

TextButton_7.Parent = _432vdsfui453564
TextButton_7.BackgroundColor3 = [Link](100, 100, 100)
TextButton_7.BorderColor3 = [Link](0, 0, 0)
TextButton_7.BorderSizePixel = 0
TextButton_7.Position = [Link](0, 0, 0.551558733, 0)
TextButton_7.Size = [Link](0, 162, 0, 50)
TextButton_7.Font = [Link]
TextButton_7.Text = "naked all"
TextButton_7.TextColor3 = [Link](0, 0, 0)
TextButton_7.TextSize = 14.000

[Link] = "button"
[Link] = _432vdsfui453564
button.BackgroundColor3 = [Link](97, 97, 97)
button.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0.47647059, 0, 0.551558733, 0)
[Link] = [Link](0, 178, 0, 50)
[Link] = [Link]
[Link] = "bring all"
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000

TextButton_8.Parent = _432vdsfui453564
TextButton_8.BackgroundColor3 = [Link](107, 107, 107)
TextButton_8.BorderColor3 = [Link](0, 0, 0)
TextButton_8.BorderSizePixel = 0
TextButton_8.Position = [Link](0, 0, 0.709832132, 0)
TextButton_8.Size = [Link](0, 162, 0, 50)
TextButton_8.Font = [Link]
TextButton_8.Text = "teams"
TextButton_8.TextColor3 = [Link](0, 0, 0)
TextButton_8.TextSize = 14.000

button_2.Name = "button"
button_2.Parent = _432vdsfui453564
button_2.BackgroundColor3 = [Link](98, 98, 98)
button_2.BorderColor3 = [Link](0, 0, 0)
button_2.BorderSizePixel = 0
button_2.Position = [Link](0.47647059, 0, 0.709832132, 0)
button_2.Size = [Link](0, 178, 0, 50)
button_2.Font = [Link]
button_2.Text = "name all"
button_2.TextColor3 = [Link](0, 0, 0)
button_2.TextSize = 14.000

TextButton_9.Parent = _432vdsfui453564
TextButton_9.BackgroundColor3 = [Link](90, 90, 90)
TextButton_9.BorderColor3 = [Link](0, 0, 0)
TextButton_9.BorderSizePixel = 0
TextButton_9.Position = [Link](0, 0, 0.858513176, 0)
TextButton_9.Size = [Link](0, 162, 0, 50)
TextButton_9.Font = [Link]
TextButton_9.Text = "f3x btools"
TextButton_9.TextColor3 = [Link](0, 0, 0)
TextButton_9.TextSize = 14.000

TextButton_10.Parent = _432vdsfui453564
TextButton_10.BackgroundColor3 = [Link](111, 111, 111)
TextButton_10.BorderColor3 = [Link](0, 0, 0)
TextButton_10.BorderSizePixel = 0
TextButton_10.Position = [Link](0.47647059, 0, 0.858513176, 0)
TextButton_10.Size = [Link](0, 178, 0, 50)
TextButton_10.Font = [Link]
TextButton_10.Text = "xAcornx all"
TextButton_10.TextColor3 = [Link](0, 0, 0)
TextButton_10.TextSize = 14.000

-- Scripts:

local function EKIMT_fake_script() -- _432vdsfui453564.LocalScript


local script = [Link]('LocalScript', _432vdsfui453564)

local UserInputService = game:GetService("UserInputService")

local gui = [Link]

local dragging
local dragInput
local dragStart
local startPos

local function update(input)


local delta = [Link] - dragStart
[Link] = [Link]([Link], [Link] + delta.X,
[Link], [Link] + delta.Y)
end

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = true
dragStart = [Link]
startPos = [Link]

[Link]:Connect(function()
if [Link] == [Link] then
dragging = false
end
end)
end
end)

[Link]:Connect(function(input)
if [Link] == [Link] or
[Link] == [Link] then
dragInput = input
end
end)

[Link]:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end
[Link](EKIMT_fake_script)()
local function KQWERHP_fake_script() -- [Link]
local script = [Link]('LocalScript', TextButton)
local button = [Link]

button.MouseButton1Click:Connect(function()
print("Button clicked!")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";btools me")
RequestCommand:InvokeServer(";fogcolor black")

wait (0.5)

local player = [Link]


local char = [Link]
local tool
for i,v in player:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
for i,v in [Link]:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
--craaa
remote = [Link]
function _(args)
remote:InvokeServer(unpack(args))
end
function SetCollision(part,boolean)
local args = {
[1] = "SyncCollision",
[2] = {
[1] = {
["Part"] = part,
["CanCollide"] = boolean
}
}
}
_(args)
end
function SetAnchor(boolean,part)
local args = {
[1] = "SyncAnchor",
[2] = {
[1] = {
["Part"] = part,
["Anchored"] = boolean
}
}
}
_(args)
end
function CreatePart(cf,parent)
local args = {
[1] = "CreatePart",
[2] = "Normal",
[3] = cf,
[4] = parent
}
_(args)
end
function DestroyPart(part)
local args = {
[1] = "Remove",
[2] = {
[1] = part
}
}
_(args)
end
function MovePart(part,cf)
local args = {
[1] = "SyncMove",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf
}
}
}
_(args)
end
function Resize(part,size,cf)
local args = {
[1] = "SyncResize",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf,
["Size"] = size
}
}
}
_(args)
end
function AddMesh(part)
local args = {
[1] = "CreateMeshes",
[2] = {
[1] = {
["Part"] = part
}
}
}
_(args)
end

function SetMesh(part,meshid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["MeshId"] = "rbxassetid://"..meshid
}
}
}
_(args)
end
function SetTexture(part, texid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["TextureId"] = "rbxassetid://"..texid
}
}
}
_(args)
end
function SetName(part, stringg)
local args = {
[1] = "SetName",
[2] = {
[1] = part
},
[3] = stringg
}

_(args)
end
function MeshResize(part,size)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["Scale"] = size
}
}
}
_(args)
end
function Weld(part1, part2,lead)
local args = {
[1] = "CreateWelds",
[2] = {
[1] = part1,
[2] = part2
},
[3] = lead
}
_(args)

end
function SetLocked(part,boolean)
local args = {
[1] = "SetLocked",
[2] = {
[1] = part
},
[3] = boolean
}
_(args)
end
function SetTrans(part,int)
local args = {
[1] = "SyncMaterial",
[2] = {
[1] = {
["Part"] = part,
["Transparency"] = int
}
}
}
_(args)
end
function CreateSpotlight(part)
local args = {
[1] = "CreateLights",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight"
}
}
}
_(args)
end
function SyncLighting(part,brightness)
local args = {
[1] = "SyncLighting",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight",
["Brightness"] = brightness
}
}
}
_(args)
end
function Color(part,color)
local args = {
[1] = "SyncColor",
[2] = {
[1] = {
["Part"] = part,
["Color"] = color --[[Color3]],
["UnionColoring"] = false
}
}
}
_(args)
end
function SpawnDecal(part,side)
local args = {
[1] = "CreateTextures",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal"
}
}
}

_(args)
end
function AddDecal(part,asset,side)
local args = {
[1] = "SyncTexture",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://".. asset
}
}
}
_(args)
end

function Sky(id)
e = [Link].x
f = [Link].y
g = [Link].z
CreatePart([Link]([Link](e),[Link](f),[Link](g))
+ [Link](0,6,0),workspace)
for i,v in [Link]:GetDescendants() do
if v:IsA("BasePart") and [Link].x == [Link](e) and
[Link].z == [Link](g) then
--spawn(function()
SetName(v,"Sky")
AddMesh(v)
--end)
--spawn(function()
SetMesh(v,"111891702759441")
SetTexture(v,id)
--end)
MeshResize(v,[Link](99999,99999,99999))
SetLocked(v,true)
end
end
end
Sky("86300838490029")
end)
end
[Link](KQWERHP_fake_script)()
local function OHHD_fake_script() -- TextButton_2.LocalScript
local script = [Link]('LocalScript', TextButton_2)

local button = [Link]

button.MouseButton1Click:Connect(function()
print("Button clicked!")
local player = [Link]
local char = [Link]
local tool
for i,v in player:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
for i,v in [Link]:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
--craaa
remote = [Link]
function _(args)
remote:InvokeServer(unpack(args))
end
function SetCollision(part,boolean)
local args = {
[1] = "SyncCollision",
[2] = {
[1] = {
["Part"] = part,
["CanCollide"] = boolean
}
}
}
_(args)
end
function SetAnchor(boolean,part)
local args = {
[1] = "SyncAnchor",
[2] = {
[1] = {
["Part"] = part,
["Anchored"] = boolean
}
}
}
_(args)
end
function CreatePart(cf,parent)
local args = {
[1] = "CreatePart",
[2] = "Normal",
[3] = cf,
[4] = parent
}
_(args)
end
function DestroyPart(part)
local args = {
[1] = "Remove",
[2] = {
[1] = part
}
}
_(args)
end
function MovePart(part,cf)
local args = {
[1] = "SyncMove",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf
}
}
}
_(args)
end
function Resize(part,size,cf)
local args = {
[1] = "SyncResize",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf,
["Size"] = size
}
}
}
_(args)
end
function AddMesh(part)
local args = {
[1] = "CreateMeshes",
[2] = {
[1] = {
["Part"] = part
}
}
}
_(args)
end

function SetMesh(part,meshid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["MeshId"] = "rbxassetid://"..meshid
}
}
}
_(args)
end
function SetTexture(part, texid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["TextureId"] = "rbxassetid://"..texid
}
}
}
_(args)
end
function SetName(part, stringg)
local args = {
[1] = "SetName",
[2] = {
[1] = part
},
[3] = stringg
}

_(args)
end
function MeshResize(part,size)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["Scale"] = size
}
}
}
_(args)
end
function Weld(part1, part2,lead)
local args = {
[1] = "CreateWelds",
[2] = {
[1] = part1,
[2] = part2
},
[3] = lead
}
_(args)

end
function SetLocked(part,boolean)
local args = {
[1] = "SetLocked",
[2] = {
[1] = part
},
[3] = boolean
}
_(args)
end
function SetTrans(part,int)
local args = {
[1] = "SyncMaterial",
[2] = {
[1] = {
["Part"] = part,
["Transparency"] = int
}
}
}
_(args)
end
function CreateSpotlight(part)
local args = {
[1] = "CreateLights",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight"
}
}
}
_(args)
end
function SyncLighting(part,brightness)
local args = {
[1] = "SyncLighting",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight",
["Brightness"] = brightness
}
}
}
_(args)
end
function Color(part,color)
local args = {
[1] = "SyncColor",
[2] = {
[1] = {
["Part"] = part,
["Color"] = color --[[Color3]],
["UnionColoring"] = false
}
}
}
_(args)
end
function SpawnDecal(part,side)
local args = {
[1] = "CreateTextures",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal"
}
}
}

_(args)
end
function AddDecal(part,asset,side)
local args = {
[1] = "SyncTexture",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://".. asset
}
}
}
_(args)
end

function spam(id)
for i,v in [Link]:GetDescendants() do
if v:IsA("BasePart") then
spawn(function()
SetLocked(v,false)
SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])
end)
end
end
end
spam("86300838490029")
end)
end
[Link](OHHD_fake_script)()
local function UHNSJWO_fake_script() -- TextButton_3.LocalScript
local script = [Link]('LocalScript', TextButton_3)

local button = [Link]

button.MouseButton1Click:Connect(function()
print("Button clicked!")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";shutdown")
end)
end
[Link](UHNSJWO_fake_script)()
local function XLFCHOL_fake_script() -- TextButton_4.LocalScript
local script = [Link]('LocalScript', TextButton_4)

local button = [Link]


button.MouseButton1Click:Connect(function()
print("Button clicked!")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";music 86412047196482")
RequestCommand:InvokeServer(";pitch 0.9")
RequestCommand:InvokeServer(";volume inf")
end)
end
[Link](XLFCHOL_fake_script)()
local function RHESI_fake_script()lse
[Link] = true
[Link] = true
else
[Link] = true
[Link] = false
[Link] = "rbxassetid://7072720870"

TweenService:Create(MainWindow, [Link](0.5,
[Link], [Link]), {Size = [Link](0,
[Link].X + 140, 0, 50)}):Play()
wait(0.1)
[Link] = false
end
Minimized = not Minimized
end)

local function LoadSequence()


[Link] = false
local LoadSequenceLogo = SetProps(MakeElement("Image",
[Link]), {
Parent = Orion,
AnchorPoint = [Link](0.5, 0.5),
Position = [Link](0.5, 0, 0.4, 0),
Size = [Link](0, 28, 0, 28),
ImageColor3 = [Link](255, 255, 255),
ImageTransparency = 1
})

local LoadSequenceText = SetProps(MakeElement("Label",


[Link], 14), {
Parent = Orion,
Size = [Link](1, 0, 1, 0),
AnchorPoint = [Link](0.5, 0.5),
Position = [Link](0.5, 19, 0.5, 0),
TextXAlignment = [Link],
Font = [Link],
TextTransparency = 1
})

TweenService:Create(LoadSequenceLogo, [Link](.3,
[Link], [Link]), {ImageTransparency = 0, Position
= [Link](0.5, 0, 0.5, 0)}):Play()
wait(0.8)
TweenService:Create(LoadSequenceLogo, [Link](.3,
[Link], [Link]), {Position = [Link](0.5, -
([Link].X/2), 0.5, 0)}):Play()
wait(0.3)
TweenService:Create(LoadSequenceText, [Link](.3,
[Link], [Link]), {TextTransparency = 0}):Play()
wait(2)
TweenService:Create(LoadSequenceText, [Link](.3,
[Link], [Link]), {TextTransparency = 1}):Play()
[Link] = true
LoadSequenceLogo:Destroy()
LoadSequenceText:Destroy()
end

if [Link] then
LoadSequence()
end

local TabFunction = {}
function TabFunction:MakeTab(TabConfig)
TabConfig = TabConfig or {}
[Link] = [Link] or "Tab"
[Link] = [Link] or ""
[Link] = [Link] or false

local TabFrame = SetChildren(SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 0, 30),
Parent = TabHolder
}), {
AddThemeObject(SetProps(MakeElement("Image", [Link]), {
AnchorPoint = [Link](0, 0.5),
Size = [Link](0, 18, 0, 18),
Position = [Link](0, 10, 0.5, 0),
ImageTransparency = 0.4,
Name = "Ico"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", [Link], 14),
{
Size = [Link](1, -35, 1, 0),
Position = [Link](0, 35, 0, 0),
Font = [Link],
TextTransparency = 0.4,
Name = "Title"
}), "Text")
})

if GetIcon([Link]) ~= nil then


[Link] = GetIcon([Link])
end

local Container =
AddThemeObject(SetChildren(SetProps(MakeElement("ScrollFrame", [Link](255,
255, 255), 5), {
Size = [Link](1, -150, 1, -50),
Position = [Link](0, 150, 0, 50),
Parent = MainWindow,
Visible = false,
Name = "ItemContainer"
}), {
MakeElement("List", 0, 6),
MakeElement("Padding", 15, 10, 10, 15)
}), "Divider")

AddConnection([Link]:GetPropertyChangedSignal("AbsoluteContentSize"
), function()
[Link] = [Link](0, 0, 0,
[Link].Y + 30)
end)

if FirstTab then
FirstTab = false
[Link] = 0
[Link] = 0
[Link] = [Link]
[Link] = true
end

AddConnection(TabFrame.MouseButton1Click, function()
for _, Tab in next, TabHolder:GetChildren() do
if Tab:IsA("TextButton") then
[Link] = [Link]
TweenService:Create([Link], [Link](0.25,
[Link], [Link]), {ImageTransparency =
0.4}):Play()
TweenService:Create([Link], [Link](0.25,
[Link], [Link]), {TextTransparency = 0.4}):Play()
end
end
for _, ItemContainer in next, MainWindow:GetChildren() do
if [Link] == "ItemContainer" then
[Link] = false
end
end
TweenService:Create([Link], [Link](0.25,
[Link], [Link]), {ImageTransparency = 0}):Play()
TweenService:Create([Link], [Link](0.25,
[Link], [Link]), {TextTransparency = 0}):Play()
[Link] = [Link]
[Link] = true
end)

local function GetElements(ItemParent)


local ElementFunction = {}
function ElementFunction:AddLabel(Text)
local LabelFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 30),
BackgroundTransparency = 0.7,
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label", Text,
15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Second")

local LabelFunction = {}
function LabelFunction:Set(ToChange)
[Link] = ToChange
end
return LabelFunction
end
function ElementFunction:AddParagraph(Text, Content)
Text = Text or "Text"
Content = Content or "Content"

local ParagraphFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 30),
BackgroundTransparency = 0.7,
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label", Text,
15), {
Size = [Link](1, -12, 0, 14),
Position = [Link](0, 12, 0, 10),
Font = [Link],
Name = "Title"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "", 13),
{
Size = [Link](1, -24, 0, 0),
Position = [Link](0, 12, 0, 26),
Font = [Link],
Name = "Content",
TextWrapped = true
}), "TextDark"),
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Second")

AddConnection([Link]:GetPropertyChangedSignal("Text"),
function()
[Link] = [Link](1, -24, 0,
[Link].Y)
[Link] = [Link](1, 0, 0,
[Link].Y + 35)
end)

[Link] = Content

local ParagraphFunction = {}
function ParagraphFunction:Set(ToChange)
[Link] = ToChange
end
return ParagraphFunction
end
function ElementFunction:AddButton(ButtonConfig)
ButtonConfig = ButtonConfig or {}
[Link] = [Link] or "Button"
[Link] = [Link] or function()
end
[Link] = [Link] or
"rbxassetid://3944703587"

local Button = {}

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local ButtonFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 33),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Image",
[Link]), {
Size = [Link](0, 20, 0, 20),
Position = [Link](1, -30, 0, 7),
}), "TextDark"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
Click
}), "Second")

AddConnection([Link], function()
TweenService:Create(ButtonFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
end)

AddConnection([Link], function()
TweenService:Create(ButtonFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link][[Link]].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(ButtonFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
spawn(function()
[Link]()
end)
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(ButtonFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 6,
[Link][[Link]].Second.G * 255 + 6,
[Link][[Link]].Second.B * 255 + 6)}):Play()
end)

function Button:Set(ButtonText)
[Link] = ButtonText
end

return Button
end
function ElementFunction:AddToggle(ToggleConfig)
ToggleConfig = ToggleConfig or {}
[Link] = [Link] or "Toggle"
[Link] = [Link] or false
[Link] = [Link] or function()
end
[Link] = [Link] or
[Link](9, 99, 195)
[Link] = [Link] or nil
[Link] = [Link] or false

local Toggle = {Value = [Link], Save =


[Link]}

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local ToggleBox =
SetChildren(SetProps(MakeElement("RoundFrame", [Link], 0, 4), {
Size = [Link](0, 24, 0, 24),
Position = [Link](1, -24, 0.5, 0),
AnchorPoint = [Link](0.5, 0.5)
}), {
SetProps(MakeElement("Stroke"), {
Color = [Link],
Name = "Stroke",
Transparency = 0.5
}),
SetProps(MakeElement("Image",
"rbxassetid://3944680095"), {
Size = [Link](0, 20, 0, 20),
AnchorPoint = [Link](0.5, 0.5),
Position = [Link](0.5, 0, 0.5, 0),
ImageColor3 = [Link](255, 255, 255),
Name = "Ico"
}),
})

local ToggleFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
ToggleBox,
Click
}), "Second")

function Toggle:Set(Value)
[Link] = Value
TweenService:Create(ToggleBox, [Link](0.3,
[Link], [Link]), {BackgroundColor3 = [Link]
and [Link] or [Link]}):Play()
TweenService:Create([Link],
[Link](0.3, [Link], [Link]), {Color =
[Link] and [Link] or [Link]}):Play()
TweenService:Create([Link], [Link](0.3,
[Link], [Link]), {ImageTransparency =
[Link] and 0 or 1, Size = [Link] and [Link](0, 20, 0, 20) or
[Link](0, 8, 0, 8)}):Play()
[Link]([Link])
end

Toggle:Set([Link])

AddConnection([Link], function()
TweenService:Create(ToggleFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
end)

AddConnection([Link], function()
TweenService:Create(ToggleFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link][[Link]].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(ToggleFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
SaveCfg([Link])
Toggle:Set(not [Link])
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(ToggleFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 6,
[Link][[Link]].Second.G * 255 + 6,
[Link][[Link]].Second.B * 255 + 6)}):Play()
end)
if [Link] then
[Link][[Link]] = Toggle
end
return Toggle
end
function ElementFunction:AddSlider(SliderConfig)
SliderConfig = SliderConfig or {}
[Link] = [Link] or "Slider"
[Link] = [Link] or 0
[Link] = [Link] or 100
[Link] = [Link] or 1
[Link] = [Link] or 50
[Link] = [Link] or function()
end
[Link] = [Link] or ""
[Link] = [Link] or
[Link](9, 149, 98)
[Link] = [Link] or nil
[Link] = [Link] or false

local Slider = {Value = [Link], Save =


[Link]}
local Dragging = false

local SliderDrag =
SetChildren(SetProps(MakeElement("RoundFrame", [Link], 0, 5), {
Size = [Link](0, 0, 1, 0),
BackgroundTransparency = 0.3,
ClipsDescendants = true
}), {
AddThemeObject(SetProps(MakeElement("Label", "value",
13), {
Size = [Link](1, -12, 0, 14),
Position = [Link](0, 12, 0, 6),
Font = [Link],
Name = "Value",
TextTransparency = 0
}), "Text")
})

local SliderBar =
SetChildren(SetProps(MakeElement("RoundFrame", [Link], 0, 5), {
Size = [Link](1, -24, 0, 26),
Position = [Link](0, 12, 0, 30),
BackgroundTransparency = 0.9
}), {
SetProps(MakeElement("Stroke"), {
Color = [Link]
}),
AddThemeObject(SetProps(MakeElement("Label", "value",
13), {
Size = [Link](1, -12, 0, 14),
Position = [Link](0, 12, 0, 6),
Font = [Link],
Name = "Value",
TextTransparency = 0.8
}), "Text"),
SliderDrag
})
local SliderFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 4), {
Size = [Link](1, 0, 0, 65),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 0, 14),
Position = [Link](0, 12, 0, 10),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
SliderBar
}), "Second")

[Link]:Connect(function(Input)
if [Link] ==
[Link].MouseButton1 then
Dragging = true
end
end)
[Link]:Connect(function(Input)
if [Link] ==
[Link].MouseButton1 then
Dragging = false
end
end)

[Link]:Connect(function(Input)
if Dragging and [Link] ==
[Link] then
local SizeScale = [Link](([Link].X
- [Link].X) / [Link].X, 0, 1)
Slider:Set([Link] +
(([Link] - [Link]) * SizeScale))
SaveCfg([Link])
end
end)

function Slider:Set(Value)
[Link] = [Link](Round(Value,
[Link]), [Link], [Link])
TweenService:Create(SliderDrag,[Link](.15,
[Link], [Link]),{Size =
[Link](([Link] - [Link]) / ([Link] -
[Link]), 1)}):Play()
[Link] = tostring([Link]) .. " " ..
[Link]
[Link] = tostring([Link]) .. "
" .. [Link]
[Link]([Link])
end

Slider:Set([Link])
if [Link] then
[Link][[Link]] = Slider
end
return Slider
end
function ElementFunction:AddDropdown(DropdownConfig)
DropdownConfig = DropdownConfig or {}
[Link] = [Link] or "Dropdown"
[Link] = [Link] or {}
[Link] = [Link] or ""
[Link] = [Link] or
function() end
[Link] = [Link] or nil
[Link] = [Link] or false

local Dropdown = {Value = [Link], Options =


[Link], Buttons = {}, Toggled = false, Type = "Dropdown", Save =
[Link]}
local MaxElements = 5

if not [Link]([Link], [Link]) then


[Link] = "..."
end

local DropdownList = MakeElement("List")

local DropdownContainer =
AddThemeObject(SetProps(SetChildren(MakeElement("ScrollFrame", [Link](40,
40, 40), 4), {
DropdownList
}), {
Parent = ItemParent,
Position = [Link](0, 0, 0, 38),
Size = [Link](1, 0, 1, -38),
ClipsDescendants = true
}), "Divider")

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local DropdownFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 38),
Parent = ItemParent,
ClipsDescendants = true
}), {
DropdownContainer,
SetProps(SetChildren(MakeElement("TFrame"), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Image",
"rbxassetid://7072706796"), {
Size = [Link](0, 20, 0, 20),
AnchorPoint = [Link](0, 0.5),
Position = [Link](1, -30, 0.5, 0),
ImageColor3 = [Link](240, 240,
240),
Name = "Ico"
}), "TextDark"),
AddThemeObject(SetProps(MakeElement("Label",
"Selected", 13), {
Size = [Link](1, -40, 1, 0),
Font = [Link],
Name = "Selected",
TextXAlignment =
[Link]
}), "TextDark"),
AddThemeObject(SetProps(MakeElement("Frame"), {
Size = [Link](1, 0, 0, 1),
Position = [Link](0, 0, 1, -1),
Name = "Line",
Visible = false
}), "Stroke"),
Click
}), {
Size = [Link](1, 0, 0, 38),
ClipsDescendants = true,
Name = "F"
}),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
MakeElement("Corner")
}), "Second")

AddConnection(DropdownList:GetPropertyChangedSignal("AbsoluteContentSize"),
function()
[Link] = [Link](0, 0, 0,
[Link].Y)
end)

local function AddOptions(Options)


for _, Option in pairs(Options) do
local OptionBtn =
AddThemeObject(SetProps(SetChildren(MakeElement("Button", [Link](40, 40,
40)), {
MakeElement("Corner", 0, 6),

AddThemeObject(SetProps(MakeElement("Label", Option, 13, 0.4), {


Position = [Link](0, 8, 0, 0),
Size = [Link](1, -8, 1, 0),
Name = "Title"
}), "Text")
}), {
Parent = DropdownContainer,
Size = [Link](1, 0, 0, 28),
BackgroundTransparency = 1,
ClipsDescendants = true
}), "Divider")

AddConnection(OptionBtn.MouseButton1Click,
function()
Dropdown:Set(Option)
SaveCfg([Link])
end)

[Link][Option] = OptionBtn
end
end

function Dropdown:Refresh(Options, Delete)


if Delete then
for _,v in pairs([Link]) do
v:Destroy()
end
[Link]([Link])
[Link]([Link])
end
[Link] = Options
AddOptions([Link])
end

function Dropdown:Set(Value)
if not [Link]([Link], Value) then
[Link] = "..."
[Link] = [Link]
for _, v in pairs([Link]) do
TweenService:Create(v,[Link](.15,
[Link], [Link]),{BackgroundTransparency =
1}):Play()

TweenService:Create([Link],[Link](.15, [Link],
[Link]),{TextTransparency = 0.4}):Play()
end
return
end

[Link] = Value
[Link] = [Link]

for _, v in pairs([Link]) do
TweenService:Create(v,[Link](.15,
[Link], [Link]),{BackgroundTransparency =
1}):Play()
TweenService:Create([Link],[Link](.15,
[Link], [Link]),{TextTransparency = 0.4}):Play()
end

TweenService:Create([Link][Value],[Link](.15,
[Link], [Link]),{BackgroundTransparency =
0}):Play()

TweenService:Create([Link][Value].Title,[Link](.15,
[Link], [Link]),{TextTransparency = 0}):Play()
return [Link]([Link])
end

AddConnection(Click.MouseButton1Click, function()
[Link] = not [Link]
[Link] = [Link]

TweenService:Create([Link],[Link](.15,
[Link], [Link]),{Rotation = [Link] and
180 or 0}):Play()
if #[Link] > MaxElements then

TweenService:Create(DropdownFrame,[Link](.15, [Link],
[Link]),{Size = [Link] and [Link](1, 0, 0, 38 +
(MaxElements * 28)) or [Link](1, 0, 0, 38)}):Play()
else

TweenService:Create(DropdownFrame,[Link](.15, [Link],
[Link]),{Size = [Link] and [Link](1, 0, 0,
[Link].Y + 38) or [Link](1, 0, 0, 38)}):Play()
end
end)

Dropdown:Refresh([Link], false)
Dropdown:Set([Link])
if [Link] then
[Link][[Link]] = Dropdown
end
return Dropdown
end
function ElementFunction:AddBind(BindConfig)
[Link] = [Link] or "Bind"
[Link] = [Link] or
[Link]
[Link] = [Link] or false
[Link] = [Link] or function() end
[Link] = [Link] or nil
[Link] = [Link] or false

local Bind = {Value, Binding = false, Type = "Bind", Save =


[Link]}
local Holding = false

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local BindBox =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 4), {
Size = [Link](0, 24, 0, 24),
Position = [Link](1, -12, 0.5, 0),
AnchorPoint = [Link](1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke"),
AddThemeObject(SetProps(MakeElement("Label",
[Link], 14), {
Size = [Link](1, 0, 1, 0),
Font = [Link],
TextXAlignment = [Link],
Name = "Value"
}), "Text")
}), "Main")

local BindFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
BindBox,
Click
}), "Second")

AddConnection([Link]:GetPropertyChangedSignal("Text"), function()
--[Link] = [Link](0,
[Link].X + 16, 0, 24)
TweenService:Create(BindBox, [Link](0.25,
[Link], [Link]), {Size = [Link](0,
[Link].X + 16, 0, 24)}):Play()
end)

AddConnection([Link], function(Input)
if [Link] ==
[Link].MouseButton1 then
if [Link] then return end
[Link] = true
[Link] = ""
end
end)

AddConnection([Link], function(Input)
if UserInputService:GetFocusedTextBox() then return
end
if ([Link] == [Link] or
[Link] == [Link]) and not [Link] then
if [Link] then
Holding = true
[Link](Holding)
else
[Link]()
end
elseif [Link] then
local Key
pcall(function()
if not CheckKey(BlacklistedKeys,
[Link]) then
Key = [Link]
end
end)
pcall(function()
if CheckKey(WhitelistedMouse,
[Link]) and not Key then
Key = [Link]
end
end)
Key = Key or [Link]
Bind:Set(Key)
SaveCfg([Link])
end
end)

AddConnection([Link], function(Input)
if [Link] == [Link] or
[Link] == [Link] then
if [Link] and Holding then
Holding = false
[Link](Holding)
end
end
end)

AddConnection([Link], function()
TweenService:Create(BindFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
end)

AddConnection([Link], function()
TweenService:Create(BindFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link][[Link]].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(BindFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(BindFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 6,
[Link][[Link]].Second.G * 255 + 6,
[Link][[Link]].Second.B * 255 + 6)}):Play()
end)

function Bind:Set(Key)
[Link] = false
[Link] = Key or [Link]
[Link] = [Link] or [Link]
[Link] = [Link]
end

Bind:Set([Link])
if [Link] then
[Link][[Link]] = Bind
end
return Bind
end
function ElementFunction:AddTextbox(TextboxConfig)
TextboxConfig = TextboxConfig or {}
[Link] = [Link] or "Textbox"
[Link] = [Link] or ""
[Link] = [Link]
or false
[Link] = [Link] or
function() end

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local TextboxActual = AddThemeObject(Create("TextBox", {


Size = [Link](1, 0, 1, 0),
BackgroundTransparency = 1,
TextColor3 = [Link](255, 255, 255),
PlaceholderColor3 = [Link](210,210,210),
PlaceholderText = "Input",
Font = [Link],
TextXAlignment = [Link],
TextSize = 14,
ClearTextOnFocus = false
}), "Text")

local TextContainer =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 4), {
Size = [Link](0, 24, 0, 24),
Position = [Link](1, -12, 0.5, 0),
AnchorPoint = [Link](1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke"),
TextboxActual
}), "Main")

local TextboxFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
TextContainer,
Click
}), "Second")

AddConnection(TextboxActual:GetPropertyChangedSignal("Text"), function()
--[Link] = [Link](0,
[Link].X + 16, 0, 24)
TweenService:Create(TextContainer,
[Link](0.45, [Link], [Link]), {Size =
[Link](0, [Link].X + 16, 0, 24)}):Play()
end)

AddConnection([Link], function()
[Link]([Link])
if [Link] then
[Link] = ""
end
end)

[Link] = [Link]

AddConnection([Link], function()
TweenService:Create(TextboxFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
end)

AddConnection([Link], function()
TweenService:Create(TextboxFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link][[Link]].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(TextboxFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 3,
[Link][[Link]].Second.G * 255 + 3,
[Link][[Link]].Second.B * 255 + 3)}):Play()
TextboxActual:CaptureFocus()
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(TextboxFrame, [Link](0.25,
[Link], [Link]), {BackgroundColor3 =
[Link]([Link][[Link]].Second.R * 255 + 6,
[Link][[Link]].Second.G * 255 + 6,
[Link][[Link]].Second.B * 255 + 6)}):Play()
end)
end
function ElementFunction:AddColorpicker(ColorpickerConfig)
ColorpickerConfig = ColorpickerConfig or {}
[Link] = [Link] or
"Colorpicker"
[Link] = [Link] or
[Link](255,255,255)
[Link] = [Link] or
function() end
[Link] = [Link] or nil
[Link] = [Link] or false

local ColorH, ColorS, ColorV = 1, 1, 1


local Colorpicker = {Value = [Link],
Toggled = false, Type = "Colorpicker", Save = [Link]}

local ColorSelection = Create("ImageLabel", {


Size = [Link](0, 18, 0, 18),
Position = [Link](select(3,
[Link]([Link]))),
ScaleType = [Link],
AnchorPoint = [Link](0.5, 0.5),
BackgroundTransparency = 1,
Image = "[Link]
})

local HueSelection = Create("ImageLabel", {


Size = [Link](0, 18, 0, 18),
Position = [Link](0.5, 0, 1 - select(1,
[Link]([Link]))),
ScaleType = [Link],
AnchorPoint = [Link](0.5, 0.5),
BackgroundTransparency = 1,
Image = "[Link]
})

local Color = Create("ImageLabel", {


Size = [Link](1, -25, 1, 0),
Visible = false,
Image = "rbxassetid://4155801252"
}, {
Create("UICorner", {CornerRadius = [Link](0, 5)}),
ColorSelection
})

local Hue = Create("Frame", {


Size = [Link](0, 20, 1, 0),
Position = [Link](1, -20, 0, 0),
Visible = false
}, {
Create("UIGradient", {Rotation = 270, Color =
[Link]{[Link](0.00, [Link](255, 0, 4)),
[Link](0.20, [Link](234, 255, 0)),
[Link](0.40, [Link](21, 255, 0)),
[Link](0.60, [Link](0, 255, 255)),
[Link](0.80, [Link](0, 17, 255)),
[Link](0.90, [Link](255, 0, 251)),
[Link](1.00, [Link](255, 0, 4))},}),
Create("UICorner", {CornerRadius = [Link](0, 5)}),
HueSelection
})

local ColorpickerContainer = Create("Frame", {


Position = [Link](0, 0, 0, 32),
Size = [Link](1, 0, 1, -32),
BackgroundTransparency = 1,
ClipsDescendants = true
}, {
Hue,
Color,
Create("UIPadding", {
PaddingLeft = [Link](0, 35),
PaddingRight = [Link](0, 35),
PaddingBottom = [Link](0, 10),
PaddingTop = [Link](0, 17)
})
})

local Click = SetProps(MakeElement("Button"), {


Size = [Link](1, 0, 1, 0)
})

local ColorpickerBox =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 4), {
Size = [Link](0, 24, 0, 24),
Position = [Link](1, -12, 0.5, 0),
AnchorPoint = [Link](1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Main")

local ColorpickerFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", [Link](255,
255, 255), 0, 5), {
Size = [Link](1, 0, 0, 38),
Parent = ItemParent
}), {
SetProps(SetChildren(MakeElement("TFrame"), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 15), {
Size = [Link](1, -12, 1, 0),
Position = [Link](0, 12, 0, 0),
Font = [Link],
Name = "Content"
}), "Text"),
ColorpickerBox,
Click,
AddThemeObject(SetProps(MakeElement("Frame"), {
Size = [Link](1, 0, 0, 1),
Position = [Link](0, 0, 1, -1),
Name = "Line",
Visible = false
}), "Stroke"),
}), {
Size = [Link](1, 0, 0, 38),
ClipsDescendants = true,
Name = "F"
}),
ColorpickerContainer,
AddThemeObject(MakeElement("Stroke"), "Stroke"),
}), "Second")

AddConnection(Click.MouseButton1Click, function()
[Link] = not [Link]

TweenService:Create(ColorpickerFrame,[Link](.15,
[Link], [Link]),{Size = [Link] and
[Link](1, 0, 0, 148) or [Link](1, 0, 0, 38)}):Play()
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
end)

local function UpdateColorPicker()


ColorpickerBox.BackgroundColor3 =
[Link](ColorH, ColorS, ColorV)
Color.BackgroundColor3 = [Link](ColorH, 1, 1)
Colorpicker:Set(ColorpickerBox.BackgroundColor3)

[Link](ColorpickerBox.BackgroundColor3)
SaveCfg([Link])
end

ColorH = 1 - ([Link]([Link].Y -
[Link].Y, 0, [Link].Y) / [Link].Y)
ColorS = ([Link]([Link].X -
[Link].X, 0, [Link].X) / [Link].X)
ColorV = 1 - ([Link]([Link].Y
- [Link].Y, 0, [Link].Y) / [Link].Y)

AddConnection([Link], function(input)
if [Link] ==
[Link].MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
ColorInput =
AddConnection([Link], function()
local ColorX = ([Link](Mouse.X -
[Link].X, 0, [Link].X) / [Link].X)
local ColorY = ([Link](Mouse.Y -
[Link].Y, 0, [Link].Y) / [Link].Y)
[Link] =
[Link](ColorX, 0, ColorY, 0)
ColorS = ColorX
ColorV = 1 - ColorY
UpdateColorPicker()
end)
end
end)

AddConnection([Link], function(input)
if [Link] ==
[Link].MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
end
end)

AddConnection([Link], function(input)
if [Link] ==
[Link].MouseButton1 then
if HueInput then
HueInput:Disconnect()
end;

HueInput =
AddConnection([Link], function()
local HueY = ([Link](Mouse.Y -
[Link].Y, 0, [Link].Y) / [Link].Y)

[Link] = [Link](0.5, 0,
HueY, 0)
ColorH = 1 - HueY

UpdateColorPicker()
end)
end
end)

AddConnection([Link], function(input)
if [Link] ==
[Link].MouseButton1 then
if HueInput then
HueInput:Disconnect()
end
end
end)

function Colorpicker:Set(Value)
[Link] = Value
ColorpickerBox.BackgroundColor3 = [Link]
[Link]([Link])
end

Colorpicker:Set([Link])
if [Link] then
[Link][[Link]] = Colorpicker
end
return Colorpicker
end
return ElementFunction
end

local ElementFunction = {}

function ElementFunction:AddSection(SectionConfig)
[Link] = [Link] or "Section"

local SectionFrame = SetChildren(SetProps(MakeElement("TFrame"),


{
Size = [Link](1, 0, 0, 26),
Parent = Container
}), {
AddThemeObject(SetProps(MakeElement("Label",
[Link], 14), {
Size = [Link](1, -12, 0, 16),
Position = [Link](0, 0, 0, 3),
Font = [Link]
}), "TextDark"),
SetChildren(SetProps(MakeElement("TFrame"), {
AnchorPoint = [Link](0, 0),
Size = [Link](1, 0, 1, -24),
Position = [Link](0, 0, 0, 23),
Name = "Holder"
}), {
MakeElement("List", 0, 6)
}),
})
AddConnection([Link]:GetPropertyChangedSignal("AbsoluteCo
ntentSize"), function()
[Link] = [Link](1, 0, 0,
[Link].Y + 31)
[Link] = [Link](1, 0, 0,
[Link].Y)
end)

local SectionFunction = {}
for i, v in next, GetElements([Link]) do
SectionFunction[i] = v
end
return SectionFunction
end

for i, v in next, GetElements(Container) do


ElementFunction[i] = v
end

if [Link] then
for i, v in next, ElementFunction do
ElementFunction[i] = function() end
end
Container:FindFirstChild("UIListLayout"):Destroy()
Container:FindFirstChild("UIPadding"):Destroy()
SetChildren(SetProps(MakeElement("TFrame"), {
Size = [Link](1, 0, 1, 0),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Image",
"rbxassetid://3610239960"), {
Size = [Link](0, 18, 0, 18),
Position = [Link](0, 15, 0, 15),
ImageTransparency = 0.4
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "Unauthorised
Access", 14), {
Size = [Link](1, -38, 0, 14),
Position = [Link](0, 38, 0, 18),
TextTransparency = 0.4
}), "Text"),
AddThemeObject(SetProps(MakeElement("Image",
"rbxassetid://4483345875"), {
Size = [Link](0, 56, 0, 56),
Position = [Link](0, 84, 0, 110),
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "Premium
Features", 14), {
Size = [Link](1, -150, 0, 14),
Position = [Link](0, 150, 0, 112),
Font = [Link]
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "This part of
the script is locked to Sirius Premium users. Purchase Premium in the Discord
server ([Link]/sirius)", 12), {
Size = [Link](1, -200, 0, 14),
Position = [Link](0, 150, 0, 138),
TextWrapped = true,
TextTransparency = 0.4
}), "Text")
})
end
return ElementFunction
end

OrionLib:MakeNotification({
Name = "UI Library Upgrade",
Content = "New UI Library Available at [Link]/discord and
[Link]/rayfield",
Time = 5
})

return TabFunction
end

function OrionLib:Destroy()
Orion:Destroy()
end

return OrionLib

You might also like