Universal Script πŸ“Œ
54.4k Views
58.0k Executions

Lib

10K executions
Universal Script πŸ“Œ
areyoumental110
areyoumental110
Verified Badge
Verified User
Published 50
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

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

  1. Script edited: Update script

  2. Script edited: 4 spaces replaced with a tab

  3. Script edited: Update script

  4. Script edited: Update script

  5. Script edited: Update script

View Raw
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


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
33.0k
298.1k
Bumped 27 minutes ago
Script hub
23.6k
5.2k
Bumped 27 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
174
527
Bumped 56 minutes ago
Universal Script πŸ“Œ
1.6k
30.2k
Bumped 58 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 3 hours ago