Run it
Copy the script and paste it into your executor.
drag = (:())()
().bgcolor
().bgcolor = .(,,)
().areyoumentaluis
().areyoumentaluis = {}
().deletewhendupefound
().deletewhendupefound =
lib = {}
lib.bgcolor = bgcolor
connectfuncs = {}
dropdownstuff = {}
tabnum =
amtsize =
amtsize2 = amtsize*
localplr = .Players.LocalPlayer
titletext =
huifunc = gethui get_hidden_gui
lib.(titletext2)
titletext = titletext2
deletewhendupefound == ().areyoumentaluis[titletext]
().areyoumentaluis[titletext]:()
().areyoumentaluis[titletext] = .new
mainframe = .new
huifunc
().areyoumentaluis[titletext].Parent = ()
().areyoumentaluis[titletext].Parent = .CoreGui
mainframe.Parent = ().areyoumentaluis[titletext]
mainframe.Size = .(,,,)
mainframe.Position = .(,,-(/))
(mainframe)
mainframe.BorderColor3 = .(,,)
mainframe.BackgroundColor3 = bgcolor
uiconstraint = .()
uiconstraint.Parent = mainframe
uiconstraint.AspectRatio =
exitbutton = .new
exitbutton.Parent = mainframe
exitbutton.Size = .(,,,)
exitbutton.Position = .(,,-,)
exitbutton.BackgroundTransparency =
exitbutton.TextScaled =
exitbutton.Text =
exitbutton.TextColor3 = .(,,)
exitbutton.TextStrokeTransparency =
exitbutton.ZIndex =
title = .new
title.Parent = mainframe
title.Size = .(,,,)
title.BorderColor3 = .(,,)
title.BackgroundColor3 = bgcolor
title.TextScaled =
title.Text = titletext
title.TextColor3 = .(,,)
title.TextStrokeTransparency =
.(connectfuncs,exitbutton.MouseButton1Click:(()
bindfunc = .()
bindfunc.(bpress)
bpress ==
mainframe.Parent:()
:():(,{Title=,Text=,Callback=bindfunc,Button1=,Button2=})
))
.(connectfuncs,().areyoumentaluis[titletext].Destroying:(()
i,v (connectfuncs)
v:()
lib.ondestroyedfunc
lib.()
))
().areyoumentaluis[titletext],mainframe
lib.(name)
tabnum +=
tabbutton = .new
tabbutton.Size = .(,,,)
tabbutton.ZIndex = -tabnum
tabbutton.Parent = ().areyoumentaluis[titletext].Frame
tabbutton.BackgroundColor3 = bgcolor
tabbutton.TextColor3 = .(,,)
tabbutton.TextScaled =
tabbutton.Text = name
tabbutton.BorderColor3 = .(,,)
tabframe = .new
tabframe.Parent = ().areyoumentaluis[titletext].Frame
tabframe.Size = .(,,,)
tabframe.Position = .(,,,)
tabframe.BackgroundColor3 = bgcolor
tabframe.BorderColor3 = .(,,)
tabframe.Visible =
tabframe.CanvasSize = .(,,amtsize,)
sort = .new
sort.Parent = tabframe
sort.SortOrder =
ypos = -(((.(tabnum/))/)*+)
tabnum% ==
tabbutton.Position = .(,,ypos)
tabnum% ==
tabbutton.Position = .(,,ypos)
tabnum% ==
tabbutton.Position = .(,,ypos)
tabnum% ==
tabbutton.Position = .(,,ypos)
thistabnum = tabnum
.(connectfuncs,tabbutton.MouseEnter:(()
tabbutton.Position = .(tabbutton.Position.X.Scale,,ypos)
tabbutton.Size = .(,,,)
tabbutton.ZIndex =
))
.(connectfuncs,tabbutton.MouseLeave:(()
tabbutton.Position = .(tabbutton.Position.X.Scale,,ypos)
tabbutton.Size = .(,,,)
tabbutton.ZIndex = -thistabnum
))
.(connectfuncs,tabbutton.MouseButton1Click:(()
i,v (tabbutton.Parent:())
v:()
v.Visible =
tabframe.Visible =
))
tabframe
lib.(name,tab)
label = .new
label.Parent = tab
label.Size = .(,,/amtsize2,)
label.TextScaled =
label.TextColor3 = .(,,)
label.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
label.BorderColor3 = .(,,)
label.Text = name
label
lib.(name,tab,func)
button = .new
button.Parent = tab
button.Size = .(,,/amtsize2,)
button.TextScaled =
button.TextColor3 = .(,,)
button.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
button.BorderColor3 = .(,,)
button.Text = name
.(connectfuncs,button.MouseButton1Click:(func))
button
lib.(name,tab,min,max,func)
sliderframe = .new
sliderframe.Parent = tab
sliderframe.Size = .(,,/amtsize2,)
sliderframe.BackgroundColor3 = .(,,)
sliderframe.BorderColor3 = .(,,)
nametext = .new
nametext.Parent = sliderframe
nametext.Size = .(,,,)
nametext.TextScaled =
nametext.TextColor3 = .(,,)
nametext.BackgroundColor3 = .(,,)
nametext.BorderColor3 = .(,,)
nametext.Text = name
num = .new
num.Parent = sliderframe
num.Size = .(,,,)
num.Position = .(,,,)
num.TextScaled =
num.TextColor3 = .(,,)
num.BackgroundColor3 = .(,,)
num.BorderColor3 = .(,,)
num.Text =
slider = .new
slider.Parent = sliderframe
slider.Position = .(,,,)
slider.Size = .(,,,)
slider.TextScaled =
slider.TextColor3 = .(,,)
slider.BackgroundColor3 = .(,,)
slider.BorderColor3 = .(,,)
slider.Text =
UI = .()
UI.ScreenInsets = .ScreenInsets.None
UI.Parent = .CoreGui
size = UI.AbsoluteSize
UI:()
minoffset = -size.X/
maxoffset = size.X/
hoverover =
.(connectfuncs,slider.MouseButton1Up:(()
hoverover =
))
.(connectfuncs,:().InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
hoverover =
))
.(connectfuncs,:().TouchEnded:((input)
hoverover =
))
libsize = ().areyoumentaluis[titletext].Frame.AbsoluteSize
.(connectfuncs,slider.MouseButton1Down:(()
hoverover =
hoverover
()
slider.Position = .(,localplr:().X-((libsize.X*)+().areyoumentaluis[titletext].Frame.Position.X.Offset),,)
percent = (slider.Position.X.Offset + maxoffset) / (.(minoffset) + maxoffset)
percent = .(percent,,)
slider.Position = .(,.(slider.Position.X.Offset,minoffset,maxoffset),,)
number = (min + (max - min)*percent)
num.Text = (.(number))
num.Text ==
num.Text =
(number)
))
sliderframe
lib.(name,tab,func)
box = .new
box.Parent = tab
box.Size = .(,,/amtsize2,)
box.TextScaled =
box.TextColor3 = .(,,)
box.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
box.BorderColor3 = .(,,)
box.Text =
box.PlaceholderText = name
.(connectfuncs,box.FocusLost:(()
(box.Text)
))
box
lib.(name,tab,func,startingbool,notcolor)
button = .new
button.Parent = tab
button.Size = .(,,/amtsize2,)
button.TextScaled =
button.TextColor3 = .(,,)
button.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
button.BorderColor3 = .(,,)
startingbool ==
startingbool =
startingbool
button.Text = name..
button.Text = name..
toggled = startingbool
()
toggled ==
toggled =
button.Text = name..
toggled ==
toggled =
button.Text = name..
(toggled)
.(connectfuncs,button.MouseButton1Click:(onpressed))
notcolor
.(,button).Name =
button
lib.(name,tab,list,func)
ddbutton = .new
ddbutton.Parent = tab
ddbutton.Size = .(,,/amtsize2,)
ddbutton.TextScaled =
ddbutton.TextColor3 = .(,,)
ddbutton.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
ddbutton.BorderColor3 = .(,,)
ddbutton.Text = name..
dropdownstuff[ddbutton] = {,func}
listpart = .()
listpart.Parent = ddbutton
listpart.BackgroundTransparency =
listpart.Visible =
sort = .new
sort.Parent = listpart
sort.SortOrder =
listpart.Position = .(,,,)
listpart.Size = .(,,,)
listpart.CanvasSize = .(,,amtsize,)
i,v (list)
ddlistbutton = .new
ddlistbutton.Parent = listpart
ddlistbutton.Size = .(,,/amtsize,)
ddlistbutton.TextScaled =
ddlistbutton.TextColor3 = .(,,)
ddlistbutton.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
ddlistbutton.BorderColor3 = .(,,)
ddlistbutton.Text = v
ddlistbutton.ZIndex =
.(connectfuncs,ddlistbutton.MouseButton1Click:(()
(ddlistbutton.Text)
dropdownstuff[ddbutton] = {,func}
listpart.Visible =
ddlistbutton.Text
))
.(connectfuncs,ddbutton.MouseButton1Click:(()
dropdownstuff[ddbutton][] ==
dropdownstuff[ddbutton] = {,func}
listpart.Visible =
dropdownstuff[ddbutton][] ==
dropdownstuff[ddbutton] = {,func}
listpart.Visible =
))
ddbutton
lib.(dropdown,list)
func = dropdownstuff[dropdown][]
listpart = dropdown.ScrollingFrame
i,v (listpart:())
v:()
sort = .new
sort.Parent = listpart
sort.SortOrder =
listpart.Position = .(,,,)
listpart.Size = .(,,,)
listpart.CanvasSize = .(,,amtsize,)
i,v (list)
ddlistbutton = .new
ddlistbutton.Parent = listpart
ddlistbutton.Size = .(,,/amtsize)
ddlistbutton.TextScaled =
ddlistbutton.TextColor3 = .(,,)
ddlistbutton.BackgroundColor3 = .(.((bgcolor.R*)-),.((bgcolor.G*)-),.((bgcolor.B*)-))
ddlistbutton.BorderColor3 = .(,,)
ddlistbutton.Text = v
ddlistbutton.ZIndex =
listpart.Size = .(,,amtsize,)
.(connectfuncs,ddlistbutton.MouseButton1Click:(()
(ddlistbutton.Text)
dropdownstuff[dropdown] = {,func}
listpart.Visible =
ddlistbutton.Text
))
lib.(text,label)
label.Text = text
lib.(color3)
i,v (().areyoumentaluis[titletext]:())
success,err = (()
v:()
v.BackgroundColor3 = color3
)
libLoads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: rawscripts.net.
ui library to make gui's or something (yes i didnt use parenthesis for instance.new i thought it would make it "less laggy" LOL) how to use: every make function returns the button so you can customize that load the script by using loadstring like local lib = loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Lib-18698"))() and make the lib lib.makelib("titleofscripthere") then make a tab local tab = lib.maketab("tabnamehere") then you can make buttons and stuff like these local label = lib.makelabel("labeltexthere",tab) lib.updatelabel("labeltexthere again",label) lib.makebutton("buttontexthere",tab,function() print("button pressed") end) lib.maketoggle("toggle name here",tab,function(bool) print("toggle pressed",bool) end) lib.maketextbox("textbox name here",tab,function(text) print("textbox inputted",text) end) local dropdown = lib.makedropdown("dropdowntexthere",tab,{"example1","example2"},function(selectedtablename) print("dropdown pressed",selectedtablename) end) lib.updatedropdown(dropdown,{"anotherexample1","anotherexample2"} lib.makeslider("slidernamehere",tab , min or 0 , max or 100, function(number) print("slider moved",number) end) If you