
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Description
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 want to support me, go through this linkvertise https://link-target.net/1262127/support-me
Updates
Script edited: Update script
Script edited: 4 spaces replaced with a tab
Script edited: Update script
Script edited: Update script
Script edited: Update script
local drag = loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Drag-UI-SUPPORTS-MOBILE-22790"))()
if not getgenv().bgcolor then
getgenv().bgcolor = Color3.fromRGB(60,60,60)
end
if not getgenv().areyoumentaluis then
getgenv().areyoumentaluis = {}
end
if not getgenv().deletewhendupefound then
getgenv().deletewhendupefound = false
end
local lib = {}
lib.bgcolor = bgcolor
local connectfuncs = {}
local dropdownstuff = {}
local tabnum = 0
local amtsize = 100000
local amtsize2 = amtsize*10 -- incase something idk
local localplr = game.Players.LocalPlayer
local titletext = ""
local huifunc = gethui or get_hidden_gui
function lib.makelib(titletext2)
titletext = titletext2 or "Untitled"
if deletewhendupefound == true and getgenv().areyoumentaluis[titletext] then
getgenv().areyoumentaluis[titletext]:Destroy()
end
getgenv().areyoumentaluis[titletext] = Instance.new'ScreenGui'
local mainframe = Instance.new'Frame'
if huifunc then
getgenv().areyoumentaluis[titletext].Parent = huifunc()
else
getgenv().areyoumentaluis[titletext].Parent = game.CoreGui
end
mainframe.Parent = getgenv().areyoumentaluis[titletext]
mainframe.Size = UDim2.new(.3,0,.375,0)
mainframe.Position = UDim2.new(.35,0,.5-(.375/2))
drag(mainframe)
mainframe.BorderColor3 = Color3.fromRGB(255,255,255)
mainframe.BackgroundColor3 = bgcolor
local uiconstraint = Instance.new("UIAspectRatioConstraint")
uiconstraint.Parent = mainframe









