String Split Function in Roblox Script
String Split Function in Roblox Script
[Link]:Connect(function(key)
if [Link] == [Link] then
[Link] = not [Link]
[Link] = false
[Link] = false
for i,v in next, [Link] do
[Link] = false
end
end
end)
local keyNames = {
[[Link]] = 'LALT';
[[Link]] = 'RALT';
[[Link]] = 'LCTRL';
[[Link]] = 'RCTRL';
[[Link]] = 'LSHIFT';
[[Link]] = 'RSHIFT';
[[Link]] = '_';
[[Link]] = '-';
[[Link]] = '+';
[[Link]] = '.';
[[Link]] = '/';
[[Link]] = '\\';
[[Link]] = '?';
[[Link].MouseButton1] = 'MB1';
[[Link].MouseButton2] = 'MB2';
[[Link].MouseButton3] = 'MB3';
}
[Link] = 2
[Link] = 13
[Link] = true
[Link] = [Link](1,1,1)
[Link] = [Link](10,60)
function library:Tween(...)
tweenService:Create(...):Play()
end
function library:notify(text)
if playing then return end
playing = true
[Link] = text
[Link] = 0
[Link] = true
for i = 0,1,0.1 do wait()
[Link] = i
end
spawn(function()
wait(3)
for i = 1,0,-0.1 do wait()
[Link] = i
end
playing = false
[Link] = false
end)
end
function library:addTab(name)
local newTab = [Link]:Clone()
local newButton = [Link]:Clone()
[Link]([Link],newTab)
[Link] = tabholder
[Link] = false
[Link]([Link],newButton)
[Link] = tabviewer
[Link] = true
[Link] = true
[Link] = name
newButton.MouseButton1Click:Connect(function()
for i,v in next, [Link] do
[Link] = v == newTab
end
for i,v in next, [Link] do
[Link] = false
end
for i,v in next, [Link] do
local state = v == newButton
if state then
[Link] = true
library:Tween([Link], [Link](0.3, [Link],
[Link]), {BackgroundTransparency = 0.000})
[Link].TextColor3 = [Link](244, 244, 244)
else
library:Tween([Link], [Link](0.3, [Link],
[Link]), {BackgroundTransparency = 1.000})
[Link].TextColor3 = [Link](144, 144, 144)
end
end
end)
local tab = {}
local groupCount = 0
local jigCount = 0
local topStuff = 2000
groupCount -= 1
[Link] = newTab[pos]
groupbox.BackgroundColor3 = [Link](255, 255, 255)
groupbox.BorderColor3 = [Link](50, 50, 50)
[Link] = 2
[Link] = [Link](0, 215, 0, 8)
[Link] = groupCount
[Link] = groupbox
grouper.BackgroundColor3 = [Link](20, 20, 20)
grouper.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](1, 0, 1, 0)
[Link] = grouper
[Link] = [Link]
[Link] = [Link]
[Link] = grouper
[Link] = [Link](0, 4)
[Link] = [Link](0, 7)
[Link] = "element"
[Link] = groupbox
element.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link](1, 0, 0, 1)
[Link] = groupbox
title.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 17, 0, 0)
[Link] = 2
[Link] = [Link]
[Link] = groupname or ""
title.TextColor3 = [Link](255, 255, 255)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = groupbox
backframe.BackgroundColor3 = [Link](20, 20, 20)
[Link] = 0
[Link] = [Link](0, 10, 0, -2)
[Link] = [Link](0, 13 + [Link].X, 0, 3)
local group = {}
function group:addToggle(args)
if not [Link] and [Link] then [Link] = [Link] end
if not [Link] then return warn("⚠️ incorrect arguments ⚠️ - missing
args on recent toggle") end
[Link] += [Link](0, 0, 0, 20)
jigCount -= 1
[Link] -= 1
[Link] = "toggleframe"
[Link] = grouper
toggleframe.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 20)
[Link] = [Link]
[Link] = "tobble"
[Link] = toggleframe
tobble.BackgroundColor3 = [Link](255, 255, 255)
tobble.BorderColor3 = [Link](0, 0, 0)
[Link] = 3
[Link] = [Link](0.0299999993, 0, 0.272000015, 0)
[Link] = [Link](0, 10, 0, 10)
[Link] = "mid"
[Link] = tobble
mid.BackgroundColor3 = [Link](69, 23, 255)
mid.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](0, 10, 0, 10)
[Link] = "front"
[Link] = mid
front.BackgroundColor3 = [Link](30, 30, 30)
front.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](0, 10, 0, 10)
[Link] = "text"
[Link] = toggleframe
text.BackgroundColor3 = [Link](55, 55, 55)
[Link] = 1.000
[Link] = [Link](0, 22, 0, 0)
[Link] = [Link](0, 0, 1, 2)
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](155, 155, 155)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = "button"
[Link] = toggleframe
button.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 101, 1, 0)
[Link] = [Link]
[Link] = ""
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
if [Link] then
[Link] = false
text.TextColor3 = [Link]
[Link] = [Link]
return end
[Link][[Link]] = false
[Link][[Link]] = {type = "toggle",changeState =
toggle,skipflag = [Link],oldargs = args}
local toggle = {}
function toggle:addKeybind(args)
if not [Link] then return warn("⚠️ incorrect arguments ⚠️ -
missing args on toggle:keybind") end
local next = false
[Link] = toggleframe
keybind.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
keybind.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0.720000029, 4, 0.272000015, 0)
[Link] = [Link](0, 51, 0, 10)
[Link] = keybind
button.BackgroundColor3 = [Link](187, 131, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](-0.270902753, 0, 0, 0)
[Link] = [Link](1.27090275, 0, 1, 0)
[Link] = [Link]
[Link] = ""
button.TextColor3 = [Link](155, 155, 155)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
function updateValue(val)
if [Link] then return end
[Link][[Link]] = val
[Link] = keyNames[val] or [Link]
end
[Link]:Connect(function(key)
local key = [Link] == [Link] and
[Link] or [Link]
if next then
if not [Link]([Link],key) then
next = false
[Link][[Link]] = key
[Link] = keyNames[key] or [Link]
button.TextColor3 = [Link](155, 155, 155)
end
end
if not next and key == [Link][[Link]] and
[Link] then
[Link]()
end
end)
button.MouseButton1Click:Connect(function()
if [Link] then return end
[Link][[Link]] = [Link]
[Link] = "--"
button.TextColor3 = [Link]
next = true
end)
[Link][[Link]] = [Link]
[Link][[Link]] = {type = "keybind",changeState =
updateValue,skipflag = [Link],oldargs = args}
updateValue([Link] or [Link])
end
function toggle:addColorpicker(args)
if not [Link] and [Link] then [Link] = [Link] end
if not [Link] then return warn("⚠️ incorrect arguments ⚠️") end
local colorpicker = [Link]("Frame")
local mid = [Link]("Frame")
local front = [Link]("Frame")
local button2 = [Link]("TextButton")
local colorFrame = [Link]("Frame")
local colorFrame_2 = [Link]("Frame")
local hueframe = [Link]("Frame")
local main = [Link]("Frame")
local hue = [Link]("ImageLabel")
local pickerframe = [Link]("Frame")
local main_2 = [Link]("Frame")
local picker = [Link]("ImageLabel")
local clr = [Link]("Frame")
local copy = [Link]("TextButton")
[Link] -= 1
jigCount -= 1
topStuff -= 1 --[Link]
[Link] = toggleframe
colorpicker.BackgroundColor3 = [Link](255, 255, 255)
colorpicker.BorderColor3 = [Link](0, 0, 0)
[Link] = 3
[Link] = [Link] and [Link](0.720000029, 4,
0.272000015, 0) or [Link](0.860000014, 4, 0.272000015, 0)
[Link] = [Link](0, 20, 0, 10)
[Link] = "mid"
[Link] = colorpicker
mid.BackgroundColor3 = [Link](69, 23, 255)
mid.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](1, 0, 1, 0)
[Link] = "front"
[Link] = mid
front.BackgroundColor3 = [Link](240, 142, 214)
front.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](1, 0, 1, 0)
[Link] = "button2"
[Link] = front
button2.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](1, 0, 1, 0)
[Link] = ""
[Link] = [Link]
button2.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
[Link] = "colorFrame"
[Link] = toggleframe
colorFrame.BackgroundColor3 = [Link](35, 35, 35)
colorFrame.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.101092957, 0, 0.75, 0)
[Link] = [Link](0, 137, 0, 128)
colorFrame_2.Name = "colorFrame"
colorFrame_2.Parent = colorFrame
colorFrame_2.BackgroundColor3 = [Link](20, 20, 20)
colorFrame_2.BorderColor3 = [Link](60, 60, 60)
colorFrame_2.Size = [Link](1, 0, 1, 0)
[Link] = "hueframe"
[Link] = colorFrame_2
[Link] = colorFrame_2
hueframe.BackgroundColor3 = [Link](34, 34, 34)
hueframe.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](-0.0930000022, 18, -0.0599999987, 30)
[Link] = [Link](0, 100, 0, 100)
[Link] = "main"
[Link] = hueframe
main.BackgroundColor3 = [Link](18, 18, 18)
main.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](0, 100, 0, 100)
[Link] = 6
[Link] = "picker"
[Link] = main
picker.BackgroundColor3 = [Link](232, 0, 255)
picker.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 100, 0, 100)
[Link] = 104
[Link] = "rbxassetid://2615689005"
[Link] = "pickerframe"
[Link] = colorFrame
pickerframe.BackgroundColor3 = [Link](34, 34, 34)
pickerframe.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](0.711000025, 14, -0.0599999987,
30)
[Link] = [Link](0, 20, 0, 100)
main_2.Name = "main"
main_2.Parent = pickerframe
main_2.BackgroundColor3 = [Link](18, 18, 18)
main_2.BorderColor3 = [Link](0, 0, 0)
main_2.Size = [Link](0, 20, 0, 100)
main_2.ZIndex = 6
[Link] = "hue"
[Link] = main_2
hue.BackgroundColor3 = [Link](255, 0, 178)
hue.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 20, 0, 100)
[Link] = 104
[Link] = "rbxassetid://2615692420"
[Link] = "clr"
[Link] = colorFrame
clr.BackgroundColor3 = [Link](35, 35, 35)
[Link] = 1.000
clr.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](0.0280000009, 0, 0, 2)
[Link] = [Link](0, 129, 0, 14)
[Link] = 5
[Link] = "copy"
[Link] = clr
copy.BackgroundColor3 = [Link](18, 18, 18)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 129, 0, 14)
[Link] = 5
[Link] = [Link]
[Link] = [Link] or [Link]
copy.TextColor3 = [Link](100, 100, 100)
[Link] = 14.000
[Link] = 0.000
button2.MouseButton1Click:Connect(function()
[Link] = not [Link]
mid.BorderColor3 = [Link](60, 60, 60)
end)
[Link]:connect(function()
mid.BorderColor3 = [Link]
end)
[Link]:connect(function()
mid.BorderColor3 = [Link](60, 60, 60)
end)
local function updateValue(value,fakevalue)
if typeof(value) == "table" then value = fakevalue end
[Link][[Link]] = value
front.BackgroundColor3 = value
if [Link] then
[Link](value)
end
end
[Link]:Connect(function()
local input = [Link]:connect(function(key)
if [Link] == [Link].MouseButton1
then
while heartbeat:wait() and
inputService:IsMouseButtonPressed([Link].MouseButton1) do
[Link] = true
local percent =
([Link].Y-36)/[Link].Y
local num = [Link](1,
[Link](7,[Link](((percent*7+0.5)*100))/100))
local startC = colors[[Link](num)]
local endC = colors[[Link](num)]
local color = white:lerp(picker.BackgroundColor3,
oldpercentX):lerp(black, oldpercentY)
picker.BackgroundColor3 = startC:lerp(endC, num-
[Link](num)) or [Link](0, 0, 0)
updateValue(color)
end
[Link] = false
end
end)
local leave
leave = [Link]:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
[Link]:Connect(function()
local input = [Link]:connect(function(key)
if [Link] == [Link].MouseButton1
then
while heartbeat:wait() and
inputService:IsMouseButtonPressed([Link].MouseButton1) do
[Link] = true
local xPercent = (pickerX-
[Link].X)/[Link].X
local yPercent = (pickerY-
[Link].Y-36)/[Link].Y
local color = white:lerp(picker.BackgroundColor3,
xPercent):lerp(black, yPercent)
updateValue(color)
oldpercentX,oldpercentY = xPercent,yPercent
end
[Link] = false
end
end)
local leave
leave = [Link]:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
[Link]:connect(function(_, y)
hueY = y
end)
[Link]:connect(function(x, y)
pickerX,pickerY = x,y
end)
[Link]([Link],colorFrame)
[Link][[Link]] = [Link](1,1,1)
[Link][[Link]] = {type = "colorpicker",changeState =
updateValue,skipflag = [Link],oldargs = args}
updateValue([Link] or [Link](1,1,1))
end
return toggle
end
function group:addButton(args)
if not [Link] or not [Link] then return warn("⚠️ incorrect
arguments ⚠️") end
[Link] += [Link](0, 0, 0, 22)
[Link] = "buttonframe"
[Link] = grouper
buttonframe.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 21)
[Link] = "bg"
[Link] = buttonframe
bg.BackgroundColor3 = [Link](35, 35, 35)
bg.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0.140000001, 0)
[Link] = [Link](0, 205, 0, 15)
[Link] = "main"
[Link] = bg
main.BackgroundColor3 = [Link](35, 35, 35)
main.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](1, 0, 1, 0)
[Link] = "button"
[Link] = main
button.BackgroundColor3 = [Link](35, 35, 35)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = [Link] or [Link]
button.TextColor3 = [Link](255, 255, 255)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]{[Link](0.00,
[Link](255, 255, 255)), [Link](1.00, [Link](171,
171, 171))}
[Link] = 90
[Link] = "gradient"
[Link] = main
button.MouseButton1Click:Connect(function()
if not [Link] then
[Link]()
end
end)
[Link]:connect(function()
main.BorderColor3 = [Link]
end)
[Link]:connect(function()
main.BorderColor3 = [Link](60, 60, 60)
end)
end
function group:addSlider(args,sub)
if not [Link] or not [Link] then return warn("⚠️ incorrect
arguments ⚠️") end
[Link] += [Link](0, 0, 0, 30)
[Link] = "slider"
[Link] = grouper
slider.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 30)
[Link] = "bg"
[Link] = slider
bg.BackgroundColor3 = [Link](35, 35, 35)
bg.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0, 16)
[Link] = [Link](0, 205, 0, 10)
[Link] = "main"
[Link] = bg
main.BackgroundColor3 = [Link](35, 35, 35)
main.BorderColor3 = [Link](50, 50, 50)
[Link] = [Link](1, 0, 1, 0)
[Link] = "fill"
[Link] = main
fill.BackgroundColor3 = [Link]
[Link] = 0.200
fill.BorderColor3 = [Link](60, 60, 60)
[Link] = 0
[Link] = [Link](0.617238641, 13, 1, 0)
[Link] = "button"
[Link] = main
button.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0, 191, 1, 0)
[Link] = [Link]
[Link] = ""
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
[Link] = main
valuetext.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.5, 0, 0.5, 0)
[Link] = [Link]
[Link] = "0.9172/10"
valuetext.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000
[Link] = 0.000
[Link] = [Link]{[Link](0.00,
[Link](255, 255, 255)), [Link](1.00, [Link](113,
113, 113))}
[Link] = 90
[Link] = main
[Link] = "text"
[Link] = slider
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0299999993, -1, 0, 7)
[Link] = 2
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
local entered = false
local scrolling = false
local amount = 0
fill:TweenSize([Link](value/[Link],0,1,0),[Link],[Link]
[Link],0.01)
else
fill:TweenSize([Link](0,1,1,0),[Link],[Link],0.0
1)
end
[Link] = value..sub
[Link][[Link]] = value
if [Link] then
[Link](value)
end
end
local function updateScroll()
if scrolling or [Link] or not [Link] or
[Link] then return end
while
inputService:IsMouseButtonPressed([Link].MouseButton1) and [Link]
do [Link]:Wait()
[Link] = true
valuetext.TextColor3 = [Link](255,255,255)
scrolling = true
local value = [Link] + ((mouse.X -
[Link].X) / [Link].X) * ([Link] - [Link])
if value < 0 then value = 0 end
if value > [Link] then value = [Link] end
if value < [Link] then value = [Link] end
updateValue([Link](value))
end
if scrolling and not entered then
valuetext.TextColor3 = [Link](255,255,255)
end
if not [Link] then
entered = false
end
scrolling = false
[Link] = false
end
[Link]:connect(function()
if [Link] then return end
if scrolling or entered then return end
entered = true
main.BorderColor3 = [Link]
while entered do wait()
updateScroll()
end
end)
[Link]:connect(function()
entered = false
main.BorderColor3 = [Link](60, 60, 60)
end)
if [Link] then
updateValue([Link])
end
[Link][[Link]] = 0
[Link][[Link]] = {type = "slider",changeState =
updateValue,skipflag = [Link],oldargs = args}
updateValue([Link] or 0)
end
function group:addTextbox(args)
if not [Link] then return warn("⚠️ incorrect arguments ⚠️") end
[Link] += [Link](0, 0, 0, 35)
box:GetPropertyChangedSignal('Text'):Connect(function(val)
if [Link] then return end
[Link][[Link]] = [Link]
[Link] = [Link]
if [Link] then
[Link]()
end
end)
[Link] = "textbox"
[Link] = grouper
textbox.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 35)
[Link] = 10
[Link] = "bg"
[Link] = textbox
bg.BackgroundColor3 = [Link](35, 35, 35)
bg.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0, 16)
[Link] = [Link](0, 205, 0, 15)
[Link] = "main"
[Link] = bg
[Link] = true
main.BackgroundColor3 = [Link](35, 35, 35)
main.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link](0, 0, 0, 0)
[Link] = 0
[Link] = "box"
[Link] = main
box.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = false
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = [Link] or ""
box.TextColor3 = [Link](255, 255, 255)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = [Link]{[Link](0.00,
[Link](255, 255, 255)), [Link](1.00, [Link](171,
171, 171))}
[Link] = 90
[Link] = "gradient"
[Link] = main
[Link] = "text"
[Link] = textbox
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0299999993, -1, 0, 7)
[Link] = 2
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = "div"
[Link] = grouper
div.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0.743662, 0)
[Link] = [Link](0, 202, 0, 10)
[Link] = "bg"
[Link] = div
bg.BackgroundColor3 = [Link](35, 35, 35)
bg.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0240000002, 0, 0, 4)
[Link] = [Link](0, 191, 0, 1)
[Link] = "main"
[Link] = bg
main.BackgroundColor3 = [Link](35, 35, 35)
main.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](0, 191, 0, 1)
end
function group:addList(args)
if not [Link] or not [Link] then return warn("⚠️ incorrect
arguments ⚠️") end
[Link] += [Link](0, 0, 0, 35)
[Link] = "list"
[Link] = grouper
list.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 35)
[Link] = [Link]
[Link] = "bg"
[Link] = list
bg.BackgroundColor3 = [Link](35, 35, 35)
bg.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0, 16)
[Link] = [Link](0, 205, 0, 15)
[Link] = "main"
[Link] = bg
[Link] = true
main.BackgroundColor3 = [Link](35, 35, 35)
main.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link](0, 0, 0, 0)
[Link] = 0
[Link] = "button"
[Link] = main
button.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0, 191, 1, 0)
[Link] = [Link]
[Link] = ""
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
[Link] = "dumbtriangle"
[Link] = main
dumbtriangle.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 1.000
dumbtriangle.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](1, -11, 0.5, -3)
[Link] = [Link](0, 7, 0, 6)
[Link] = 3
[Link] = "rbxassetid://8532000591"
[Link] = "valuetext"
[Link] = main
valuetext.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.00200000009, 2, 0, 7)
[Link] = 2
[Link] = [Link]
[Link] = ""
valuetext.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = [Link]{[Link](0.00,
[Link](255, 255, 255)), [Link](1.00, [Link](171,
171, 171))}
[Link] = 90
[Link] = "gradient"
[Link] = main
[Link] = "text"
[Link] = list
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0299999993, -1, 0, 7)
[Link] = 2
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = "frame"
[Link] = list
frame.BackgroundColor3 = [Link](35, 35, 35)
frame.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0.605000019, 15)
[Link] = [Link](0, 203, 0, 0)
[Link] = false
[Link] = [Link]
[Link] = "holder"
[Link] = frame
holder.BackgroundColor3 = [Link](35, 35, 35)
holder.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](1, 0, 1, 0)
[Link] = holder
[Link] = [Link]
function refresh(tbl)
for i,v in next, holder:GetChildren() do
if [Link] == "Frame" then
v:Destroy()
end
[Link] = [Link](0, 203, 0, 0)
end
for i,v in pairs(tbl) do
[Link] += [Link](0, 0, 0, 20)
[Link] = v
[Link] = holder
option.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](1, 0, 0, 20)
button_2.Name = "button"
button_2.Parent = option
button_2.BackgroundColor3 = [Link](35, 35, 35)
button_2.BackgroundTransparency = 0.850
button_2.BorderSizePixel = 0
button_2.Size = [Link](1, 0, 1, 0)
button_2.Font = [Link]
button_2.Text = ""
button_2.TextColor3 = [Link](0, 0, 0)
button_2.TextSize = 14.000
text_2.Name = "off"
text_2.Parent = option
text_2.BackgroundColor3 = [Link](255, 255, 255)
text_2.BackgroundTransparency = 1.000
text_2.Position = [Link](0, 4, 0, 0)
text_2.Size = [Link](0, 0, 1, 0)
text_2.Font = [Link]
text_2.Text = v
text_2.TextColor3 = [Link] and
[Link](0.65,0.65,0.65) or [Link](1,1,1)
text_2.TextSize = 14.000
text_2.TextStrokeTransparency = 0.000
text_2.TextXAlignment = [Link]
button_2.MouseButton1Click:Connect(function()
updateValue(v)
end)
end
[Link][[Link]].values = tbl
updateValue([Link]([Link][[Link]].values,[Link][[Link]])
and [Link][[Link]] or [Link][[Link]].values[1])
end
button.MouseButton1Click:Connect(function()
if not [Link] then
[Link] = not [Link]
end
end)
[Link]:connect(function()
main.BorderColor3 = [Link]
end)
[Link]:connect(function()
main.BorderColor3 = [Link](60, 60, 60)
end)
[Link]([Link],frame)
[Link][[Link]] = [Link] and {} or ""
[Link][[Link]] = {type = "list",changeState =
updateValue,values = [Link],refresh = refresh,skipflag = [Link],oldargs
= args}
refresh([Link])
updateValue([Link] or not [Link] and [Link][1] or
"abcdefghijklmnopqrstuwvxyz")
end
function group:addConfigbox(args)
if not [Link] or not [Link] then return warn("⚠️ incorrect
arguments ⚠️") end
[Link] += [Link](0, 0, 0, 138)
[Link] -= 1
[Link] = "list2"
[Link] = grouper
list2.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0.108108111, 0)
[Link] = [Link](1, 0, 0, 138)
[Link] = "frame"
[Link] = list2
frame.BackgroundColor3 = [Link](35, 35, 35)
frame.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.0299999993, -1, 0.0439999998, 0)
[Link] = [Link](0, 205, 0, 128)
[Link] = "main"
[Link] = frame
main.BackgroundColor3 = [Link](18, 18, 18)
main.BorderColor3 = [Link](60, 60, 60)
[Link] = [Link](1, 0, 1, 0)
[Link] = "holder"
[Link] = main
[Link] = true
holder.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0.00571428565, 0)
[Link] = [Link](1, 0, 1, 0)
[Link] = "rbxasset://textures/ui/Scroll/[Link]"
[Link] = [Link](0, 0, 0, 0)
[Link] = 0
[Link] = "rbxasset://textures/ui/Scroll/[Link]"
[Link] = [Link].Y
[Link] = true
[Link] = 0
[Link] = holder
[Link] = "dwn"
[Link] = frame
dwn.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 1.000
dwn.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0.930000007, 4, 1, -9)
[Link] = [Link](0, 7, 0, 6)
[Link] = 3
[Link] = "rbxassetid://8548723563"
[Link] = false
[Link] = "up"
[Link] = frame
up.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 1.000
up.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 3, 0, 3)
[Link] = [Link](0, 7, 0, 6)
[Link] = 3
[Link] = "rbxassetid://8548757311"
[Link] = false
function refresh(tbl)
for i,v in next, holder:GetChildren() do
if [Link] == "Frame" then
v:Destroy()
end
end
for i,v in pairs(tbl) do
local item = [Link]("Frame")
local button = [Link]("TextButton")
local text = [Link]("TextLabel")
[Link] = v
[Link] = holder
[Link] = true
item.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 1.000
item.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](1, 0, 0, 18)
[Link] = item
button.BackgroundColor3 = [Link](18, 18, 18)
[Link] = 1
button.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](1, 0, 1, 0)
[Link] = ""
[Link] = 1.000
[Link] = 'text'
[Link] = item
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](1, 0, 0, 18)
[Link] = [Link]
[Link] = v
text.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000
[Link] = 0.000
button.MouseButton1Click:Connect(function()
updateValue(v)
end)
end
[Link] = true
[Link][[Link]].values = tbl
updateValue([Link]([Link][[Link]].values,[Link][[Link]])
and [Link][[Link]] or [Link][[Link]].values[1])
end
[Link][[Link]] = ""
[Link][[Link]] = {type = "cfg",changeState =
updateValue,values = [Link],refresh = refresh,skipflag = [Link],oldargs
= args}
refresh([Link])
updateValue([Link] or not [Link] and [Link][1] or
"abcdefghijklmnopqrstuwvxyz")
end
function group:addColorpicker(args)
if not [Link] then return warn("⚠️ incorrect arguments ⚠️") end
[Link] += [Link](0, 0, 0, 20)
[Link] -= 1
jigCount -= 1
topStuff -= 1
[Link] = "colorpicker"
[Link] = grouper
colorpicker.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 20)
[Link] = topStuff
[Link] = "text"
[Link] = colorpicker
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0299999993, -1, 0, 10)
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = "button"
[Link] = colorpicker
button.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = ""
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
colorpicker_2.Name = "colorpicker"
colorpicker_2.Parent = colorpicker
colorpicker_2.BackgroundColor3 = [Link](255, 255, 255)
colorpicker_2.BorderColor3 = [Link](0, 0, 0)
colorpicker_2.BorderSizePixel = 3
colorpicker_2.Position = [Link](0.860000014, 4, 0.272000015, 0)
colorpicker_2.Size = [Link](0, 20, 0, 10)
[Link] = "mid"
[Link] = colorpicker_2
mid.BackgroundColor3 = [Link](69, 23, 255)
mid.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](1, 0, 1, 0)
[Link] = "front"
[Link] = mid
front.BackgroundColor3 = [Link](240, 142, 214)
front.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](1, 0, 1, 0)
[Link] = "button"
[Link] = colorpicker
button.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0, 202, 0, 22)
[Link] = [Link]
[Link] = ""
[Link] = [Link] and topStuff or jigCount
button.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000
[Link] = "colorFrame"
[Link] = colorpicker
colorFrame.BackgroundColor3 = [Link](35, 35, 35)
colorFrame.BorderColor3 = [Link](0, 0, 0)
[Link] = 2
[Link] = [Link](0.101092957, 0, 0.75, 0)
[Link] = [Link](0, 137, 0, 128)
colorFrame_2.Name = "colorFrame"
colorFrame_2.Parent = colorFrame
colorFrame_2.BackgroundColor3 = [Link](20, 20, 20)
colorFrame_2.BorderColor3 = [Link](60, 60, 60)
colorFrame_2.Size = [Link](1, 0, 1, 0)
[Link] = "hueframe"
[Link] = colorFrame_2
hueframe.BackgroundColor3 = [Link](34, 34, 34)
hueframe.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](-0.0930000022, 18, -0.0599999987, 30)
[Link] = [Link](0, 100, 0, 100)
[Link] = "main"
[Link] = hueframe
main.BackgroundColor3 = [Link](18, 18, 18)
main.BorderColor3 = [Link](0, 0, 0)
[Link] = [Link](0, 100, 0, 100)
[Link] = 6
[Link] = "picker"
[Link] = main
picker.BackgroundColor3 = [Link](232, 0, 255)
picker.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 100, 0, 100)
[Link] = 104
[Link] = "rbxassetid://2615689005"
[Link] = "pickerframe"
[Link] = colorFrame
pickerframe.BackgroundColor3 = [Link](34, 34, 34)
pickerframe.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](0.711000025, 14, -0.0599999987, 30)
[Link] = [Link](0, 20, 0, 100)
main_2.Name = "main"
main_2.Parent = pickerframe
main_2.BackgroundColor3 = [Link](18, 18, 18)
main_2.BorderColor3 = [Link](0, 0, 0)
main_2.Size = [Link](0, 20, 0, 100)
main_2.ZIndex = 6
[Link] = "hue"
[Link] = main_2
hue.BackgroundColor3 = [Link](255, 0, 178)
hue.BorderColor3 = [Link](0, 0, 0)
[Link] = 0
[Link] = [Link](0, 20, 0, 100)
[Link] = 104
[Link] = "rbxassetid://2615692420"
[Link] = "clr"
[Link] = colorFrame
clr.BackgroundColor3 = [Link](35, 35, 35)
[Link] = 1.000
clr.BorderColor3 = [Link](60, 60, 60)
[Link] = 2
[Link] = [Link](0.0280000009, 0, 0, 2)
[Link] = [Link](0, 129, 0, 14)
[Link] = 5
[Link] = "copy"
[Link] = clr
copy.BackgroundColor3 = [Link](18, 18, 18)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 129, 0, 14)
[Link] = 5
[Link] = [Link]
[Link] = [Link] or [Link]
copy.TextColor3 = [Link](100, 100, 100)
[Link] = 14.000
[Link] = 0.000
copy.MouseButton1Click:Connect(function()
[Link] = false
end)
button.MouseButton1Click:Connect(function()
[Link] = not [Link]
mid.BorderColor3 = [Link](60, 60, 60)
end)
[Link]:connect(function()
mid.BorderColor3 = [Link]
end)
[Link]:connect(function()
mid.BorderColor3 = [Link](60, 60, 60)
end)
[Link]:Connect(function()
local input = [Link]:connect(function(key)
if [Link] == [Link].MouseButton1 then
while heartbeat:wait() and
inputService:IsMouseButtonPressed([Link].MouseButton1) do
[Link] = true
local percent =
([Link].Y-36)/[Link].Y
local num = [Link](1,
[Link](7,[Link](((percent*7+0.5)*100))/100))
local startC = colors[[Link](num)]
local endC = colors[[Link](num)]
local color = white:lerp(picker.BackgroundColor3,
oldpercentX):lerp(black, oldpercentY)
picker.BackgroundColor3 = startC:lerp(endC, num-
[Link](num)) or [Link](0, 0, 0)
updateValue(color)
end
[Link] = false
end
end)
local leave
leave = [Link]:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
[Link]:Connect(function()
local input = [Link]:connect(function(key)
if [Link] == [Link].MouseButton1 then
while heartbeat:wait() and
inputService:IsMouseButtonPressed([Link].MouseButton1) do
[Link] = true
local xPercent =
([Link].X)/[Link].X
local yPercent = ([Link].Y-
36)/[Link].Y
local color = white:lerp(picker.BackgroundColor3,
xPercent):lerp(black, yPercent)
updateValue(color)
oldpercentX,oldpercentY = xPercent,yPercent
end
[Link] = false
end
end)
local leave
leave = [Link]:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
[Link]:connect(function(_, y)
hueY = y
end)
[Link]:connect(function(x, y)
pickerX,pickerY = x,y
end)
[Link]([Link],colorFrame)
[Link][[Link]] = [Link](1,1,1)
[Link][[Link]] = {type = "colorpicker",changeState =
updateValue,skipflag = [Link],oldargs = args}
updateValue([Link] or [Link](1,1,1))
end
function group:addKeybind(args)
if not [Link] then return warn("⚠️ incorrect arguments ⚠️ - missing
args on toggle:keybind") end
[Link] += [Link](0, 0, 0, 20)
local next = false
[Link] = grouper
keybind.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 0, 20)
[Link] = keybind
text.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0299999993, -1, 0, 10)
[Link] = [Link]
[Link] = [Link] or [Link]
text.TextColor3 = [Link](244, 244, 244)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
[Link] = keybind
button.BackgroundColor3 = [Link](187, 131, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](7.09711117e-08, 0, 0, 0)
[Link] = [Link](0.978837132, 0, 1, 0)
[Link] = [Link]
[Link] = "--"
button.TextColor3 = [Link](155, 155, 155)
[Link] = 13.000
[Link] = 0.000
[Link] = [Link]
function updateValue(val)
if [Link] then return end
[Link][[Link]] = val
[Link] = keyNames[val] or [Link]
end
[Link]:Connect(function(key)
local key = [Link] == [Link] and
[Link] or [Link]
if next then
if not [Link]([Link],key) then
next = false
[Link][[Link]] = key
[Link] = keyNames[key] or [Link]
button.TextColor3 = [Link](155, 155, 155)
end
end
if not next and key == [Link][[Link]] and [Link]
then
[Link]()
end
end)
button.MouseButton1Click:Connect(function()
if [Link] then return end
[Link][[Link]] = [Link]
[Link] = "..."
button.TextColor3 = [Link](0.2,0.2,0.2)
next = true
end)
[Link][[Link]] = [Link]
[Link][[Link]] = {type = "keybind",changeState =
updateValue,skipflag = [Link],oldargs = args}
updateValue([Link] or [Link])
end
return group, groupbox
end
return tab
end
function contains(list, x)
for _, v in pairs(list) do
if v == x then return true end
end
return false
end
function library:createConfig()
local name = [Link]["config_name"]
if contains([Link]["selected_config"].values, name) then return
library:notify(name..".cfg already exists!") end
if name == "" then return library:notify("Put a name goofy") end
local jig = {}
for i,v in next, [Link] do
if [Link][i].skipflag then continue end
if typeof(v) == "Color3" then
jig[i] = {v.R,v.G,v.B}
elseif typeof(v) == "EnumItem" then
jig[i] = {[Link](tostring(v),".")
[2],[Link](tostring(v),".")[3]}
else
jig[i] = v
end
end
writefile("OsirisCFGS/"..name..".cfg",game:GetService("HttpService"):JSONEncode(jig
))
library:notify("Succesfully created config "..name..".cfg!")
library:refreshConfigs()
end
function library:saveConfig()
local name = [Link]["selected_config"]
local jig = {}
for i,v in next, [Link] do
if [Link][i].skipflag then continue end
if typeof(v) == "Color3" then
jig[i] = {v.R,v.G,v.B}
elseif typeof(v) == "EnumItem" then
jig[i] = {[Link](tostring(v),".")
[2],[Link](tostring(v),".")[3]}
else
jig[i] = v
end
end
writefile("OsirisCFGS/"..name..".cfg",game:GetService("HttpService"):JSONEncode(jig
))
library:notify("Succesfully updated config "..name..".cfg!")
library:refreshConfigs()
end
function library:loadConfig()
local name = [Link]["selected_config"]
if not isfile("OsirisCFGS/"..name..".cfg") then
library:notify("Config file not found!")
return
end
local config =
game:GetService("HttpService"):JSONDecode(readfile("OsirisCFGS/"..name..".cfg"))
for i,v in next, [Link] do
spawn(function()pcall(function()
if config[i] then
if [Link] == "colorpicker" then
[Link]([Link](config[i][1],config[i][2],config[i]
[3]))
elseif [Link] == "keybind" then
[Link](Enum[config[i][1]][config[i][2]])
else
if config[i] ~= [Link][i] then
[Link](config[i])
end
end
else
if [Link] == "toggle" then
[Link](false)
elseif [Link] == "slider" then
[Link]([Link] or 0)
elseif [Link] == "textbox" or [Link] == "list" or [Link] == "cfg"
then
[Link]([Link] or [Link] or "")
elseif [Link] == "colorpicker" then
[Link]([Link] or [Link](1,1,1))
elseif [Link] == "list" then
[Link]("")
elseif [Link] == "keybind" then
[Link]([Link] or [Link])
end
end
end)end)
end
library:notify("Succesfully loaded config "..name..".cfg!")
end
function library:refreshConfigs()
local tbl = {}
for i,v in next, listfiles("OsirisCFGS") do
[Link](tbl,v)
end
[Link]["selected_config"].refresh(tbl)
end
function library:deleteConfig()
if isfile("OsirisCFGS/"..[Link]["selected_config"]..".cfg") then
delfile("OsirisCFGS/"..[Link]["selected_config"]..".cfg")
library:refreshConfigs()
end
end
local aimbotTab = library:addTab("Legit")
local visualsTab = library:addTab("Ragebot")
local miscTab = library:addTab("Visuals")
local miscTab = library:addTab("Misc")
local configTab = library:addTab("Settings")
local createconfigs = configTab:createGroup('left', 'Create Configs')
local configsettings = configTab:createGroup('left', 'Config Settings')
local uisettings = configTab:createGroup('right', 'UI Settings')
local othersettings = configTab:createGroup('right', 'Other')