Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Source

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)
23 views37 pages

Source

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
You are on page 1/ 37

local _453foeiwn4326453ygb = Instance.

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

--Properties:

_453foeiwn4326453ygb.Name = "453foeiwn4326453ygb"
_453foeiwn4326453ygb.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
_453foeiwn4326453ygb.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
_453foeiwn4326453ygb.ResetOnSpawn = false

_432vdsfui453564.Name = "432vdsfui453564"
_432vdsfui453564.Parent = _453foeiwn4326453ygb
_432vdsfui453564.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
_432vdsfui453564.BorderColor3 = Color3.fromRGB(0, 0, 0)
_432vdsfui453564.BorderSizePixel = 0
_432vdsfui453564.Position = UDim2.new(0.61196208, 0, 0.347989947, 0)
_432vdsfui453564.Size = UDim2.new(0, 340, 0, 417)

_123.Name = "123"
_123.Parent = _432vdsfui453564
_123.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
_123.BorderColor3 = Color3.fromRGB(0, 0, 0)
_123.BorderSizePixel = 0
_123.Position = UDim2.new(0, 0, 0.103117503, 0)
_123.Size = UDim2.new(0, 340, 0, 374)
_123.Image = "rbxassetid://86300838490029"

TextLabel.Parent = _432vdsfui453564
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.BorderSizePixel = 0
TextLabel.Size = UDim2.new(0, 340, 0, 38)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "Acorn on top f3x gui v1"
TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.TextSize = 35.000

TextButton.Parent = _432vdsfui453564
TextButton.BackgroundColor3 = Color3.fromRGB(91, 91, 91)
TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton.BorderSizePixel = 0
TextButton.Position = UDim2.new(0, 0, 0.134292573, 0)
TextButton.Size = UDim2.new(0, 162, 0, 50)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = "skybox"
TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton.TextSize = 14.000

TextButton_2.Parent = _432vdsfui453564
TextButton_2.BackgroundColor3 = Color3.fromRGB(79, 79, 79)
TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_2.BorderSizePixel = 0
TextButton_2.Position = UDim2.new(0.47647059, 0, 0.134292573, 0)
TextButton_2.Size = UDim2.new(0, 178, 0, 50)
TextButton_2.Font = Enum.Font.SourceSans
TextButton_2.Text = "decal spam"
TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_2.TextSize = 14.000

TextButton_3.Parent = _432vdsfui453564
TextButton_3.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_3.BorderSizePixel = 0
TextButton_3.Position = UDim2.new(0, 0, 0.268585145, 0)
TextButton_3.Size = UDim2.new(0, 162, 0, 50)
TextButton_3.Font = Enum.Font.SourceSans
TextButton_3.Text = "shutdown"
TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_3.TextSize = 14.000

TextButton_4.Parent = _432vdsfui453564
TextButton_4.BackgroundColor3 = Color3.fromRGB(103, 103, 103)
TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_4.BorderSizePixel = 0
TextButton_4.Position = UDim2.new(0.47647059, 0, 0.268585145, 0)
TextButton_4.Size = UDim2.new(0, 178, 0, 50)
TextButton_4.Font = Enum.Font.SourceSans
TextButton_4.Text = "sound"
TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_4.TextSize = 14.000

TextButton_5.Parent = _432vdsfui453564
TextButton_5.BackgroundColor3 = Color3.fromRGB(112, 112, 112)
TextButton_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_5.BorderSizePixel = 0
TextButton_5.Position = UDim2.new(0, 0, 0.410071939, 0)
TextButton_5.Size = UDim2.new(0, 162, 0, 50)
TextButton_5.Font = Enum.Font.SourceSans
TextButton_5.Text = "savemap"
TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_5.TextSize = 14.000

TextButton_6.Parent = _432vdsfui453564
TextButton_6.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
TextButton_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_6.BorderSizePixel = 0
TextButton_6.Position = UDim2.new(0.47647059, 0, 0.410071939, 0)
TextButton_6.Size = UDim2.new(0, 178, 0, 50)
TextButton_6.Font = Enum.Font.SourceSans
TextButton_6.Text = "kill all"
TextButton_6.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_6.TextSize = 14.000

TextButton_7.Parent = _432vdsfui453564
TextButton_7.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
TextButton_7.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_7.BorderSizePixel = 0
TextButton_7.Position = UDim2.new(0, 0, 0.551558733, 0)
TextButton_7.Size = UDim2.new(0, 162, 0, 50)
TextButton_7.Font = Enum.Font.SourceSans
TextButton_7.Text = "naked all"
TextButton_7.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_7.TextSize = 14.000

button.Name = "button"
button.Parent = _432vdsfui453564
button.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
button.BorderColor3 = Color3.fromRGB(0, 0, 0)
button.BorderSizePixel = 0
button.Position = UDim2.new(0.47647059, 0, 0.551558733, 0)
button.Size = UDim2.new(0, 178, 0, 50)
button.Font = Enum.Font.SourceSans
button.Text = "bring all"
button.TextColor3 = Color3.fromRGB(0, 0, 0)
button.TextSize = 14.000

TextButton_8.Parent = _432vdsfui453564
TextButton_8.BackgroundColor3 = Color3.fromRGB(107, 107, 107)
TextButton_8.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_8.BorderSizePixel = 0
TextButton_8.Position = UDim2.new(0, 0, 0.709832132, 0)
TextButton_8.Size = UDim2.new(0, 162, 0, 50)
TextButton_8.Font = Enum.Font.SourceSans
TextButton_8.Text = "teams"
TextButton_8.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_8.TextSize = 14.000

button_2.Name = "button"
button_2.Parent = _432vdsfui453564
button_2.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
button_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
button_2.BorderSizePixel = 0
button_2.Position = UDim2.new(0.47647059, 0, 0.709832132, 0)
button_2.Size = UDim2.new(0, 178, 0, 50)
button_2.Font = Enum.Font.SourceSans
button_2.Text = "name all"
button_2.TextColor3 = Color3.fromRGB(0, 0, 0)
button_2.TextSize = 14.000

TextButton_9.Parent = _432vdsfui453564
TextButton_9.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
TextButton_9.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_9.BorderSizePixel = 0
TextButton_9.Position = UDim2.new(0, 0, 0.858513176, 0)
TextButton_9.Size = UDim2.new(0, 162, 0, 50)
TextButton_9.Font = Enum.Font.SourceSans
TextButton_9.Text = "f3x btools"
TextButton_9.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_9.TextSize = 14.000

TextButton_10.Parent = _432vdsfui453564
TextButton_10.BackgroundColor3 = Color3.fromRGB(111, 111, 111)
TextButton_10.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_10.BorderSizePixel = 0
TextButton_10.Position = UDim2.new(0.47647059, 0, 0.858513176, 0)
TextButton_10.Size = UDim2.new(0, 178, 0, 50)
TextButton_10.Font = Enum.Font.SourceSans
TextButton_10.Text = "xAcornx all"
TextButton_10.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_10.TextSize = 14.000

-- Scripts:

local function EKIMT_fake_script() -- _432vdsfui453564.LocalScript


local script = Instance.new('LocalScript', _432vdsfui453564)

local UserInputService = game:GetService("UserInputService")

local gui = script.Parent

local dragging
local dragInput
local dragStart
local startPos

local function update(input)


local delta = input.Position - dragStart
gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position

input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)

gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)

UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end
coroutine.wrap(EKIMT_fake_script)()
local function KQWERHP_fake_script() -- TextButton.LocalScript
local script = Instance.new('LocalScript', TextButton)
local button = script.Parent

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

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

wait (0.5)

local player = game.Players.LocalPlayer


local char = player.Character
local tool
for i,v in player:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
for i,v in game.ReplicatedStorage:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
--craaa
remote = tool.SyncAPI.ServerEndpoint
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 = char.HumanoidRootPart.CFrame.x
f = char.HumanoidRootPart.CFrame.y
g = char.HumanoidRootPart.CFrame.z
CreatePart(CFrame.new(math.floor(e),math.floor(f),math.floor(g))
+ Vector3.new(0,6,0),workspace)
for i,v in game.Workspace:GetDescendants() do
if v:IsA("BasePart") and v.CFrame.x == math.floor(e) and
v.CFrame.z == math.floor(g) then
--spawn(function()
SetName(v,"Sky")
AddMesh(v)
--end)
--spawn(function()
SetMesh(v,"111891702759441")
SetTexture(v,id)
--end)
MeshResize(v,Vector3.new(99999,99999,99999))
SetLocked(v,true)
end
end
end
Sky("86300838490029")
end)
end
coroutine.wrap(KQWERHP_fake_script)()
local function OHHD_fake_script() -- TextButton_2.LocalScript
local script = Instance.new('LocalScript', TextButton_2)

local button = script.Parent

button.MouseButton1Click:Connect(function()
print("Button clicked!")
local player = game.Players.LocalPlayer
local char = player.Character
local tool
for i,v in player:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
for i,v in game.ReplicatedStorage:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
--craaa
remote = tool.SyncAPI.ServerEndpoint
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 game.workspace:GetDescendants() do
if v:IsA("BasePart") then
spawn(function()
SetLocked(v,false)
SpawnDecal(v,Enum.NormalId.Front)
AddDecal(v,id,Enum.NormalId.Front)

SpawnDecal(v,Enum.NormalId.Back)
AddDecal(v,id,Enum.NormalId.Back)

SpawnDecal(v,Enum.NormalId.Right)
AddDecal(v,id,Enum.NormalId.Right)

SpawnDecal(v,Enum.NormalId.Left)
AddDecal(v,id,Enum.NormalId.Left)

SpawnDecal(v,Enum.NormalId.Bottom)
AddDecal(v,id,Enum.NormalId.Bottom)

SpawnDecal(v,Enum.NormalId.Top)
AddDecal(v,id,Enum.NormalId.Top)
end)
end
end
end
spam("86300838490029")
end)
end
coroutine.wrap(OHHD_fake_script)()
local function UHNSJWO_fake_script() -- TextButton_3.LocalScript
local script = Instance.new('LocalScript', TextButton_3)

local button = script.Parent

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

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent

RequestCommand:InvokeServer(";shutdown")
end)
end
coroutine.wrap(UHNSJWO_fake_script)()
local function XLFCHOL_fake_script() -- TextButton_4.LocalScript
local script = Instance.new('LocalScript', TextButton_4)

local button = script.Parent


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

RequestCommand:InvokeServer(";music 86412047196482")
RequestCommand:InvokeServer(";pitch 0.9")
RequestCommand:InvokeServer(";volume inf")
end)
end
coroutine.wrap(XLFCHOL_fake_script)()
local function RHESI_fake_script()lse
WindowStuff.Visible = true
WindowTopBarLine.Visible = true
else
MainWindow.ClipsDescendants = true
WindowTopBarLine.Visible = false
MinimizeBtn.Ico.Image = "rbxassetid://7072720870"

TweenService:Create(MainWindow, TweenInfo.new(0.5,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = UDim2.new(0,
WindowName.TextBounds.X + 140, 0, 50)}):Play()
wait(0.1)
WindowStuff.Visible = false
end
Minimized = not Minimized
end)

local function LoadSequence()


MainWindow.Visible = false
local LoadSequenceLogo = SetProps(MakeElement("Image",
WindowConfig.IntroIcon), {
Parent = Orion,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 0, 0.4, 0),
Size = UDim2.new(0, 28, 0, 28),
ImageColor3 = Color3.fromRGB(255, 255, 255),
ImageTransparency = 1
})

local LoadSequenceText = SetProps(MakeElement("Label",


WindowConfig.IntroText, 14), {
Parent = Orion,
Size = UDim2.new(1, 0, 1, 0),
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 19, 0.5, 0),
TextXAlignment = Enum.TextXAlignment.Center,
Font = Enum.Font.GothamBold,
TextTransparency = 1
})

TweenService:Create(LoadSequenceLogo, TweenInfo.new(.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {ImageTransparency = 0, Position
= UDim2.new(0.5, 0, 0.5, 0)}):Play()
wait(0.8)
TweenService:Create(LoadSequenceLogo, TweenInfo.new(.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0.5, -
(LoadSequenceText.TextBounds.X/2), 0.5, 0)}):Play()
wait(0.3)
TweenService:Create(LoadSequenceText, TweenInfo.new(.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
wait(2)
TweenService:Create(LoadSequenceText, TweenInfo.new(.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 1}):Play()
MainWindow.Visible = true
LoadSequenceLogo:Destroy()
LoadSequenceText:Destroy()
end

if WindowConfig.IntroEnabled then
LoadSequence()
end

local TabFunction = {}
function TabFunction:MakeTab(TabConfig)
TabConfig = TabConfig or {}
TabConfig.Name = TabConfig.Name or "Tab"
TabConfig.Icon = TabConfig.Icon or ""
TabConfig.PremiumOnly = TabConfig.PremiumOnly or false

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


Size = UDim2.new(1, 0, 0, 30),
Parent = TabHolder
}), {
AddThemeObject(SetProps(MakeElement("Image", TabConfig.Icon), {
AnchorPoint = Vector2.new(0, 0.5),
Size = UDim2.new(0, 18, 0, 18),
Position = UDim2.new(0, 10, 0.5, 0),
ImageTransparency = 0.4,
Name = "Ico"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", TabConfig.Name, 14),
{
Size = UDim2.new(1, -35, 1, 0),
Position = UDim2.new(0, 35, 0, 0),
Font = Enum.Font.GothamSemibold,
TextTransparency = 0.4,
Name = "Title"
}), "Text")
})

if GetIcon(TabConfig.Icon) ~= nil then


TabFrame.Ico.Image = GetIcon(TabConfig.Icon)
end

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

AddConnection(Container.UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"
), function()
Container.CanvasSize = UDim2.new(0, 0, 0,
Container.UIListLayout.AbsoluteContentSize.Y + 30)
end)

if FirstTab then
FirstTab = false
TabFrame.Ico.ImageTransparency = 0
TabFrame.Title.TextTransparency = 0
TabFrame.Title.Font = Enum.Font.GothamBlack
Container.Visible = true
end

AddConnection(TabFrame.MouseButton1Click, function()
for _, Tab in next, TabHolder:GetChildren() do
if Tab:IsA("TextButton") then
Tab.Title.Font = Enum.Font.GothamSemibold
TweenService:Create(Tab.Ico, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {ImageTransparency =
0.4}):Play()
TweenService:Create(Tab.Title, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {TextTransparency = 0.4}):Play()
end
end
for _, ItemContainer in next, MainWindow:GetChildren() do
if ItemContainer.Name == "ItemContainer" then
ItemContainer.Visible = false
end
end
TweenService:Create(TabFrame.Ico, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {ImageTransparency = 0}):Play()
TweenService:Create(TabFrame.Title, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
TabFrame.Title.Font = Enum.Font.GothamBlack
Container.Visible = true
end)

local function GetElements(ItemParent)


local ElementFunction = {}
function ElementFunction:AddLabel(Text)
local LabelFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 30),
BackgroundTransparency = 0.7,
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label", Text,
15), {
Size = UDim2.new(1, -12, 1, 0),
Position = UDim2.new(0, 12, 0, 0),
Font = Enum.Font.GothamBold,
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Second")

local LabelFunction = {}
function LabelFunction:Set(ToChange)
LabelFrame.Content.Text = 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", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 30),
BackgroundTransparency = 0.7,
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label", Text,
15), {
Size = UDim2.new(1, -12, 0, 14),
Position = UDim2.new(0, 12, 0, 10),
Font = Enum.Font.GothamBold,
Name = "Title"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "", 13),
{
Size = UDim2.new(1, -24, 0, 0),
Position = UDim2.new(0, 12, 0, 26),
Font = Enum.Font.GothamSemibold,
Name = "Content",
TextWrapped = true
}), "TextDark"),
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Second")

AddConnection(ParagraphFrame.Content:GetPropertyChangedSignal("Text"),
function()
ParagraphFrame.Content.Size = UDim2.new(1, -24, 0,
ParagraphFrame.Content.TextBounds.Y)
ParagraphFrame.Size = UDim2.new(1, 0, 0,
ParagraphFrame.Content.TextBounds.Y + 35)
end)

ParagraphFrame.Content.Text = Content

local ParagraphFunction = {}
function ParagraphFunction:Set(ToChange)
ParagraphFrame.Content.Text = ToChange
end
return ParagraphFunction
end
function ElementFunction:AddButton(ButtonConfig)
ButtonConfig = ButtonConfig or {}
ButtonConfig.Name = ButtonConfig.Name or "Button"
ButtonConfig.Callback = ButtonConfig.Callback or function()
end
ButtonConfig.Icon = ButtonConfig.Icon or
"rbxassetid://3944703587"

local Button = {}

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


Size = UDim2.new(1, 0, 1, 0)
})

local ButtonFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 33),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
ButtonConfig.Name, 15), {
Size = UDim2.new(1, -12, 1, 0),
Position = UDim2.new(0, 12, 0, 0),
Font = Enum.Font.GothamBold,
Name = "Content"
}), "Text"),
AddThemeObject(SetProps(MakeElement("Image",
ButtonConfig.Icon), {
Size = UDim2.new(0, 20, 0, 20),
Position = UDim2.new(1, -30, 0, 7),
}), "TextDark"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
Click
}), "Second")

AddConnection(Click.MouseEnter, function()
TweenService:Create(ButtonFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseLeave, function()
TweenService:Create(ButtonFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
OrionLib.Themes[OrionLib.SelectedTheme].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(ButtonFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
spawn(function()
ButtonConfig.Callback()
end)
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(ButtonFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 6)}):Play()
end)

function Button:Set(ButtonText)
ButtonFrame.Content.Text = ButtonText
end

return Button
end
function ElementFunction:AddToggle(ToggleConfig)
ToggleConfig = ToggleConfig or {}
ToggleConfig.Name = ToggleConfig.Name or "Toggle"
ToggleConfig.Default = ToggleConfig.Default or false
ToggleConfig.Callback = ToggleConfig.Callback or function()
end
ToggleConfig.Color = ToggleConfig.Color or
Color3.fromRGB(9, 99, 195)
ToggleConfig.Flag = ToggleConfig.Flag or nil
ToggleConfig.Save = ToggleConfig.Save or false

local Toggle = {Value = ToggleConfig.Default, Save =


ToggleConfig.Save}

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


Size = UDim2.new(1, 0, 1, 0)
})

local ToggleBox =
SetChildren(SetProps(MakeElement("RoundFrame", ToggleConfig.Color, 0, 4), {
Size = UDim2.new(0, 24, 0, 24),
Position = UDim2.new(1, -24, 0.5, 0),
AnchorPoint = Vector2.new(0.5, 0.5)
}), {
SetProps(MakeElement("Stroke"), {
Color = ToggleConfig.Color,
Name = "Stroke",
Transparency = 0.5
}),
SetProps(MakeElement("Image",
"rbxassetid://3944680095"), {
Size = UDim2.new(0, 20, 0, 20),
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 0, 0.5, 0),
ImageColor3 = Color3.fromRGB(255, 255, 255),
Name = "Ico"
}),
})

local ToggleFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
ToggleConfig.Name, 15), {
Size = UDim2.new(1, -12, 1, 0),
Position = UDim2.new(0, 12, 0, 0),
Font = Enum.Font.GothamBold,
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
ToggleBox,
Click
}), "Second")

function Toggle:Set(Value)
Toggle.Value = Value
TweenService:Create(ToggleBox, TweenInfo.new(0.3,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 = Toggle.Value
and ToggleConfig.Color or OrionLib.Themes.Default.Divider}):Play()
TweenService:Create(ToggleBox.Stroke,
TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Color =
Toggle.Value and ToggleConfig.Color or OrionLib.Themes.Default.Stroke}):Play()
TweenService:Create(ToggleBox.Ico, TweenInfo.new(0.3,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {ImageTransparency =
Toggle.Value and 0 or 1, Size = Toggle.Value and UDim2.new(0, 20, 0, 20) or
UDim2.new(0, 8, 0, 8)}):Play()
ToggleConfig.Callback(Toggle.Value)
end

Toggle:Set(Toggle.Value)

AddConnection(Click.MouseEnter, function()
TweenService:Create(ToggleFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseLeave, function()
TweenService:Create(ToggleFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
OrionLib.Themes[OrionLib.SelectedTheme].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(ToggleFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
SaveCfg(game.GameId)
Toggle:Set(not Toggle.Value)
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(ToggleFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 6)}):Play()
end)
if ToggleConfig.Flag then
OrionLib.Flags[ToggleConfig.Flag] = Toggle
end
return Toggle
end
function ElementFunction:AddSlider(SliderConfig)
SliderConfig = SliderConfig or {}
SliderConfig.Name = SliderConfig.Name or "Slider"
SliderConfig.Min = SliderConfig.Min or 0
SliderConfig.Max = SliderConfig.Max or 100
SliderConfig.Increment = SliderConfig.Increment or 1
SliderConfig.Default = SliderConfig.Default or 50
SliderConfig.Callback = SliderConfig.Callback or function()
end
SliderConfig.ValueName = SliderConfig.ValueName or ""
SliderConfig.Color = SliderConfig.Color or
Color3.fromRGB(9, 149, 98)
SliderConfig.Flag = SliderConfig.Flag or nil
SliderConfig.Save = SliderConfig.Save or false

local Slider = {Value = SliderConfig.Default, Save =


SliderConfig.Save}
local Dragging = false

local SliderDrag =
SetChildren(SetProps(MakeElement("RoundFrame", SliderConfig.Color, 0, 5), {
Size = UDim2.new(0, 0, 1, 0),
BackgroundTransparency = 0.3,
ClipsDescendants = true
}), {
AddThemeObject(SetProps(MakeElement("Label", "value",
13), {
Size = UDim2.new(1, -12, 0, 14),
Position = UDim2.new(0, 12, 0, 6),
Font = Enum.Font.GothamBold,
Name = "Value",
TextTransparency = 0
}), "Text")
})

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

SliderBar.InputBegan:Connect(function(Input)
if Input.UserInputType ==
Enum.UserInputType.MouseButton1 then
Dragging = true
end
end)
SliderBar.InputEnded:Connect(function(Input)
if Input.UserInputType ==
Enum.UserInputType.MouseButton1 then
Dragging = false
end
end)

UserInputService.InputChanged:Connect(function(Input)
if Dragging and Input.UserInputType ==
Enum.UserInputType.MouseMovement then
local SizeScale = math.clamp((Input.Position.X
- SliderBar.AbsolutePosition.X) / SliderBar.AbsoluteSize.X, 0, 1)
Slider:Set(SliderConfig.Min +
((SliderConfig.Max - SliderConfig.Min) * SizeScale))
SaveCfg(game.GameId)
end
end)

function Slider:Set(Value)
self.Value = math.clamp(Round(Value,
SliderConfig.Increment), SliderConfig.Min, SliderConfig.Max)
TweenService:Create(SliderDrag,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{Size =
UDim2.fromScale((self.Value - SliderConfig.Min) / (SliderConfig.Max -
SliderConfig.Min), 1)}):Play()
SliderBar.Value.Text = tostring(self.Value) .. " " ..
SliderConfig.ValueName
SliderDrag.Value.Text = tostring(self.Value) .. "
" .. SliderConfig.ValueName
SliderConfig.Callback(self.Value)
end

Slider:Set(Slider.Value)
if SliderConfig.Flag then
OrionLib.Flags[SliderConfig.Flag] = Slider
end
return Slider
end
function ElementFunction:AddDropdown(DropdownConfig)
DropdownConfig = DropdownConfig or {}
DropdownConfig.Name = DropdownConfig.Name or "Dropdown"
DropdownConfig.Options = DropdownConfig.Options or {}
DropdownConfig.Default = DropdownConfig.Default or ""
DropdownConfig.Callback = DropdownConfig.Callback or
function() end
DropdownConfig.Flag = DropdownConfig.Flag or nil
DropdownConfig.Save = DropdownConfig.Save or false

local Dropdown = {Value = DropdownConfig.Default, Options =


DropdownConfig.Options, Buttons = {}, Toggled = false, Type = "Dropdown", Save =
DropdownConfig.Save}
local MaxElements = 5

if not table.find(Dropdown.Options, Dropdown.Value) then


Dropdown.Value = "..."
end

local DropdownList = MakeElement("List")

local DropdownContainer =
AddThemeObject(SetProps(SetChildren(MakeElement("ScrollFrame", Color3.fromRGB(40,
40, 40), 4), {
DropdownList
}), {
Parent = ItemParent,
Position = UDim2.new(0, 0, 0, 38),
Size = UDim2.new(1, 0, 1, -38),
ClipsDescendants = true
}), "Divider")

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


Size = UDim2.new(1, 0, 1, 0)
})

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

AddConnection(DropdownList:GetPropertyChangedSignal("AbsoluteContentSize"),
function()
DropdownContainer.CanvasSize = UDim2.new(0, 0, 0,
DropdownList.AbsoluteContentSize.Y)
end)

local function AddOptions(Options)


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

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


Position = UDim2.new(0, 8, 0, 0),
Size = UDim2.new(1, -8, 1, 0),
Name = "Title"
}), "Text")
}), {
Parent = DropdownContainer,
Size = UDim2.new(1, 0, 0, 28),
BackgroundTransparency = 1,
ClipsDescendants = true
}), "Divider")

AddConnection(OptionBtn.MouseButton1Click,
function()
Dropdown:Set(Option)
SaveCfg(game.GameId)
end)

Dropdown.Buttons[Option] = OptionBtn
end
end

function Dropdown:Refresh(Options, Delete)


if Delete then
for _,v in pairs(Dropdown.Buttons) do
v:Destroy()
end
table.clear(Dropdown.Options)
table.clear(Dropdown.Buttons)
end
Dropdown.Options = Options
AddOptions(Dropdown.Options)
end

function Dropdown:Set(Value)
if not table.find(Dropdown.Options, Value) then
Dropdown.Value = "..."
DropdownFrame.F.Selected.Text = Dropdown.Value
for _, v in pairs(Dropdown.Buttons) do
TweenService:Create(v,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{BackgroundTransparency =
1}):Play()

TweenService:Create(v.Title,TweenInfo.new(.15, Enum.EasingStyle.Quad,
Enum.EasingDirection.Out),{TextTransparency = 0.4}):Play()
end
return
end

Dropdown.Value = Value
DropdownFrame.F.Selected.Text = Dropdown.Value

for _, v in pairs(Dropdown.Buttons) do
TweenService:Create(v,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{BackgroundTransparency =
1}):Play()
TweenService:Create(v.Title,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{TextTransparency = 0.4}):Play()
end

TweenService:Create(Dropdown.Buttons[Value],TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{BackgroundTransparency =
0}):Play()

TweenService:Create(Dropdown.Buttons[Value].Title,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{TextTransparency = 0}):Play()
return DropdownConfig.Callback(Dropdown.Value)
end

AddConnection(Click.MouseButton1Click, function()
Dropdown.Toggled = not Dropdown.Toggled
DropdownFrame.F.Line.Visible = Dropdown.Toggled

TweenService:Create(DropdownFrame.F.Ico,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{Rotation = Dropdown.Toggled and
180 or 0}):Play()
if #Dropdown.Options > MaxElements then

TweenService:Create(DropdownFrame,TweenInfo.new(.15, Enum.EasingStyle.Quad,
Enum.EasingDirection.Out),{Size = Dropdown.Toggled and UDim2.new(1, 0, 0, 38 +
(MaxElements * 28)) or UDim2.new(1, 0, 0, 38)}):Play()
else

TweenService:Create(DropdownFrame,TweenInfo.new(.15, Enum.EasingStyle.Quad,
Enum.EasingDirection.Out),{Size = Dropdown.Toggled and UDim2.new(1, 0, 0,
DropdownList.AbsoluteContentSize.Y + 38) or UDim2.new(1, 0, 0, 38)}):Play()
end
end)

Dropdown:Refresh(Dropdown.Options, false)
Dropdown:Set(Dropdown.Value)
if DropdownConfig.Flag then
OrionLib.Flags[DropdownConfig.Flag] = Dropdown
end
return Dropdown
end
function ElementFunction:AddBind(BindConfig)
BindConfig.Name = BindConfig.Name or "Bind"
BindConfig.Default = BindConfig.Default or
Enum.KeyCode.Unknown
BindConfig.Hold = BindConfig.Hold or false
BindConfig.Callback = BindConfig.Callback or function() end
BindConfig.Flag = BindConfig.Flag or nil
BindConfig.Save = BindConfig.Save or false

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


BindConfig.Save}
local Holding = false

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


Size = UDim2.new(1, 0, 1, 0)
})

local BindBox =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 4), {
Size = UDim2.new(0, 24, 0, 24),
Position = UDim2.new(1, -12, 0.5, 0),
AnchorPoint = Vector2.new(1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke"),
AddThemeObject(SetProps(MakeElement("Label",
BindConfig.Name, 14), {
Size = UDim2.new(1, 0, 1, 0),
Font = Enum.Font.GothamBold,
TextXAlignment = Enum.TextXAlignment.Center,
Name = "Value"
}), "Text")
}), "Main")

local BindFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
BindConfig.Name, 15), {
Size = UDim2.new(1, -12, 1, 0),
Position = UDim2.new(0, 12, 0, 0),
Font = Enum.Font.GothamBold,
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
BindBox,
Click
}), "Second")

AddConnection(BindBox.Value:GetPropertyChangedSignal("Text"), function()
--BindBox.Size = UDim2.new(0,
BindBox.Value.TextBounds.X + 16, 0, 24)
TweenService:Create(BindBox, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = UDim2.new(0,
BindBox.Value.TextBounds.X + 16, 0, 24)}):Play()
end)

AddConnection(Click.InputEnded, function(Input)
if Input.UserInputType ==
Enum.UserInputType.MouseButton1 then
if Bind.Binding then return end
Bind.Binding = true
BindBox.Value.Text = ""
end
end)

AddConnection(UserInputService.InputBegan, function(Input)
if UserInputService:GetFocusedTextBox() then return
end
if (Input.KeyCode.Name == Bind.Value or
Input.UserInputType.Name == Bind.Value) and not Bind.Binding then
if BindConfig.Hold then
Holding = true
BindConfig.Callback(Holding)
else
BindConfig.Callback()
end
elseif Bind.Binding then
local Key
pcall(function()
if not CheckKey(BlacklistedKeys,
Input.KeyCode) then
Key = Input.KeyCode
end
end)
pcall(function()
if CheckKey(WhitelistedMouse,
Input.UserInputType) and not Key then
Key = Input.UserInputType
end
end)
Key = Key or Bind.Value
Bind:Set(Key)
SaveCfg(game.GameId)
end
end)

AddConnection(UserInputService.InputEnded, function(Input)
if Input.KeyCode.Name == Bind.Value or
Input.UserInputType.Name == Bind.Value then
if BindConfig.Hold and Holding then
Holding = false
BindConfig.Callback(Holding)
end
end
end)

AddConnection(Click.MouseEnter, function()
TweenService:Create(BindFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseLeave, function()
TweenService:Create(BindFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
OrionLib.Themes[OrionLib.SelectedTheme].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(BindFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(BindFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 6)}):Play()
end)

function Bind:Set(Key)
Bind.Binding = false
Bind.Value = Key or Bind.Value
Bind.Value = Bind.Value.Name or Bind.Value
BindBox.Value.Text = Bind.Value
end

Bind:Set(BindConfig.Default)
if BindConfig.Flag then
OrionLib.Flags[BindConfig.Flag] = Bind
end
return Bind
end
function ElementFunction:AddTextbox(TextboxConfig)
TextboxConfig = TextboxConfig or {}
TextboxConfig.Name = TextboxConfig.Name or "Textbox"
TextboxConfig.Default = TextboxConfig.Default or ""
TextboxConfig.TextDisappear = TextboxConfig.TextDisappear
or false
TextboxConfig.Callback = TextboxConfig.Callback or
function() end

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


Size = UDim2.new(1, 0, 1, 0)
})

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


Size = UDim2.new(1, 0, 1, 0),
BackgroundTransparency = 1,
TextColor3 = Color3.fromRGB(255, 255, 255),
PlaceholderColor3 = Color3.fromRGB(210,210,210),
PlaceholderText = "Input",
Font = Enum.Font.GothamSemibold,
TextXAlignment = Enum.TextXAlignment.Center,
TextSize = 14,
ClearTextOnFocus = false
}), "Text")

local TextContainer =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 4), {
Size = UDim2.new(0, 24, 0, 24),
Position = UDim2.new(1, -12, 0.5, 0),
AnchorPoint = Vector2.new(1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke"),
TextboxActual
}), "Main")

local TextboxFrame =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 5), {
Size = UDim2.new(1, 0, 0, 38),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Label",
TextboxConfig.Name, 15), {
Size = UDim2.new(1, -12, 1, 0),
Position = UDim2.new(0, 12, 0, 0),
Font = Enum.Font.GothamBold,
Name = "Content"
}), "Text"),
AddThemeObject(MakeElement("Stroke"), "Stroke"),
TextContainer,
Click
}), "Second")

AddConnection(TextboxActual:GetPropertyChangedSignal("Text"), function()
--TextContainer.Size = UDim2.new(0,
TextboxActual.TextBounds.X + 16, 0, 24)
TweenService:Create(TextContainer,
TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size =
UDim2.new(0, TextboxActual.TextBounds.X + 16, 0, 24)}):Play()
end)

AddConnection(TextboxActual.FocusLost, function()
TextboxConfig.Callback(TextboxActual.Text)
if TextboxConfig.TextDisappear then
TextboxActual.Text = ""
end
end)

TextboxActual.Text = TextboxConfig.Default

AddConnection(Click.MouseEnter, function()
TweenService:Create(TextboxFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
end)

AddConnection(Click.MouseLeave, function()
TweenService:Create(TextboxFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
OrionLib.Themes[OrionLib.SelectedTheme].Second}):Play()
end)

AddConnection(Click.MouseButton1Up, function()
TweenService:Create(TextboxFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 3,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 3)}):Play()
TextboxActual:CaptureFocus()
end)

AddConnection(Click.MouseButton1Down, function()
TweenService:Create(TextboxFrame, TweenInfo.new(0.25,
Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 =
Color3.fromRGB(OrionLib.Themes[OrionLib.SelectedTheme].Second.R * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.G * 255 + 6,
OrionLib.Themes[OrionLib.SelectedTheme].Second.B * 255 + 6)}):Play()
end)
end
function ElementFunction:AddColorpicker(ColorpickerConfig)
ColorpickerConfig = ColorpickerConfig or {}
ColorpickerConfig.Name = ColorpickerConfig.Name or
"Colorpicker"
ColorpickerConfig.Default = ColorpickerConfig.Default or
Color3.fromRGB(255,255,255)
ColorpickerConfig.Callback = ColorpickerConfig.Callback or
function() end
ColorpickerConfig.Flag = ColorpickerConfig.Flag or nil
ColorpickerConfig.Save = ColorpickerConfig.Save or false

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


local Colorpicker = {Value = ColorpickerConfig.Default,
Toggled = false, Type = "Colorpicker", Save = ColorpickerConfig.Save}

local ColorSelection = Create("ImageLabel", {


Size = UDim2.new(0, 18, 0, 18),
Position = UDim2.new(select(3,
Color3.toHSV(Colorpicker.Value))),
ScaleType = Enum.ScaleType.Fit,
AnchorPoint = Vector2.new(0.5, 0.5),
BackgroundTransparency = 1,
Image = "http://www.roblox.com/asset/?id=4805639000"
})

local HueSelection = Create("ImageLabel", {


Size = UDim2.new(0, 18, 0, 18),
Position = UDim2.new(0.5, 0, 1 - select(1,
Color3.toHSV(Colorpicker.Value))),
ScaleType = Enum.ScaleType.Fit,
AnchorPoint = Vector2.new(0.5, 0.5),
BackgroundTransparency = 1,
Image = "http://www.roblox.com/asset/?id=4805639000"
})

local Color = Create("ImageLabel", {


Size = UDim2.new(1, -25, 1, 0),
Visible = false,
Image = "rbxassetid://4155801252"
}, {
Create("UICorner", {CornerRadius = UDim.new(0, 5)}),
ColorSelection
})

local Hue = Create("Frame", {


Size = UDim2.new(0, 20, 1, 0),
Position = UDim2.new(1, -20, 0, 0),
Visible = false
}, {
Create("UIGradient", {Rotation = 270, Color =
ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))},}),
Create("UICorner", {CornerRadius = UDim.new(0, 5)}),
HueSelection
})

local ColorpickerContainer = Create("Frame", {


Position = UDim2.new(0, 0, 0, 32),
Size = UDim2.new(1, 0, 1, -32),
BackgroundTransparency = 1,
ClipsDescendants = true
}, {
Hue,
Color,
Create("UIPadding", {
PaddingLeft = UDim.new(0, 35),
PaddingRight = UDim.new(0, 35),
PaddingBottom = UDim.new(0, 10),
PaddingTop = UDim.new(0, 17)
})
})

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


Size = UDim2.new(1, 0, 1, 0)
})

local ColorpickerBox =
AddThemeObject(SetChildren(SetProps(MakeElement("RoundFrame", Color3.fromRGB(255,
255, 255), 0, 4), {
Size = UDim2.new(0, 24, 0, 24),
Position = UDim2.new(1, -12, 0.5, 0),
AnchorPoint = Vector2.new(1, 0.5)
}), {
AddThemeObject(MakeElement("Stroke"), "Stroke")
}), "Main")

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

AddConnection(Click.MouseButton1Click, function()
Colorpicker.Toggled = not Colorpicker.Toggled

TweenService:Create(ColorpickerFrame,TweenInfo.new(.15,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out),{Size = Colorpicker.Toggled and
UDim2.new(1, 0, 0, 148) or UDim2.new(1, 0, 0, 38)}):Play()
Color.Visible = Colorpicker.Toggled
Hue.Visible = Colorpicker.Toggled
ColorpickerFrame.F.Line.Visible = Colorpicker.Toggled
end)

local function UpdateColorPicker()


ColorpickerBox.BackgroundColor3 =
Color3.fromHSV(ColorH, ColorS, ColorV)
Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
Colorpicker:Set(ColorpickerBox.BackgroundColor3)

ColorpickerConfig.Callback(ColorpickerBox.BackgroundColor3)
SaveCfg(game.GameId)
end

ColorH = 1 - (math.clamp(HueSelection.AbsolutePosition.Y -
Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) / Hue.AbsoluteSize.Y)
ColorS = (math.clamp(ColorSelection.AbsolutePosition.X -
Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) / Color.AbsoluteSize.X)
ColorV = 1 - (math.clamp(ColorSelection.AbsolutePosition.Y
- Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) / Color.AbsoluteSize.Y)

AddConnection(Color.InputBegan, function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
ColorInput =
AddConnection(RunService.RenderStepped, function()
local ColorX = (math.clamp(Mouse.X -
Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) / Color.AbsoluteSize.X)
local ColorY = (math.clamp(Mouse.Y -
Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) / Color.AbsoluteSize.Y)
ColorSelection.Position =
UDim2.new(ColorX, 0, ColorY, 0)
ColorS = ColorX
ColorV = 1 - ColorY
UpdateColorPicker()
end)
end
end)

AddConnection(Color.InputEnded, function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
end
end)

AddConnection(Hue.InputBegan, function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
if HueInput then
HueInput:Disconnect()
end;

HueInput =
AddConnection(RunService.RenderStepped, function()
local HueY = (math.clamp(Mouse.Y -
Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) / Hue.AbsoluteSize.Y)

HueSelection.Position = UDim2.new(0.5, 0,
HueY, 0)
ColorH = 1 - HueY

UpdateColorPicker()
end)
end
end)

AddConnection(Hue.InputEnded, function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
if HueInput then
HueInput:Disconnect()
end
end
end)

function Colorpicker:Set(Value)
Colorpicker.Value = Value
ColorpickerBox.BackgroundColor3 = Colorpicker.Value
ColorpickerConfig.Callback(Colorpicker.Value)
end

Colorpicker:Set(Colorpicker.Value)
if ColorpickerConfig.Flag then
OrionLib.Flags[ColorpickerConfig.Flag] = Colorpicker
end
return Colorpicker
end
return ElementFunction
end

local ElementFunction = {}

function ElementFunction:AddSection(SectionConfig)
SectionConfig.Name = SectionConfig.Name or "Section"

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


{
Size = UDim2.new(1, 0, 0, 26),
Parent = Container
}), {
AddThemeObject(SetProps(MakeElement("Label",
SectionConfig.Name, 14), {
Size = UDim2.new(1, -12, 0, 16),
Position = UDim2.new(0, 0, 0, 3),
Font = Enum.Font.GothamSemibold
}), "TextDark"),
SetChildren(SetProps(MakeElement("TFrame"), {
AnchorPoint = Vector2.new(0, 0),
Size = UDim2.new(1, 0, 1, -24),
Position = UDim2.new(0, 0, 0, 23),
Name = "Holder"
}), {
MakeElement("List", 0, 6)
}),
})
AddConnection(SectionFrame.Holder.UIListLayout:GetPropertyChangedSignal("AbsoluteCo
ntentSize"), function()
SectionFrame.Size = UDim2.new(1, 0, 0,
SectionFrame.Holder.UIListLayout.AbsoluteContentSize.Y + 31)
SectionFrame.Holder.Size = UDim2.new(1, 0, 0,
SectionFrame.Holder.UIListLayout.AbsoluteContentSize.Y)
end)

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

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


ElementFunction[i] = v
end

if TabConfig.PremiumOnly 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 = UDim2.new(1, 0, 1, 0),
Parent = ItemParent
}), {
AddThemeObject(SetProps(MakeElement("Image",
"rbxassetid://3610239960"), {
Size = UDim2.new(0, 18, 0, 18),
Position = UDim2.new(0, 15, 0, 15),
ImageTransparency = 0.4
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "Unauthorised
Access", 14), {
Size = UDim2.new(1, -38, 0, 14),
Position = UDim2.new(0, 38, 0, 18),
TextTransparency = 0.4
}), "Text"),
AddThemeObject(SetProps(MakeElement("Image",
"rbxassetid://4483345875"), {
Size = UDim2.new(0, 56, 0, 56),
Position = UDim2.new(0, 84, 0, 110),
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "Premium
Features", 14), {
Size = UDim2.new(1, -150, 0, 14),
Position = UDim2.new(0, 150, 0, 112),
Font = Enum.Font.GothamBold
}), "Text"),
AddThemeObject(SetProps(MakeElement("Label", "This part of
the script is locked to Sirius Premium users. Purchase Premium in the Discord
server (discord.gg/sirius)", 12), {
Size = UDim2.new(1, -200, 0, 14),
Position = UDim2.new(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 sirius.menu/discord and
sirius.menu/rayfield",
Time = 5
})

return TabFunction
end

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

return OrionLib

You might also like