---
title: "Lib | Universal Roblox Script - ScriptBlox"
description: "Lib for any Roblox game: 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)..."
canonical_url: "https://scriptblox.com/script/Universal-Script-Lib-18698"
meta:
  "og:description": "Lib for any Roblox game: 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)..."
  "og:image": "https://scriptblox.com/images/script/4316878-1726881364327.png"
  "og:title": "Lib | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Lib for any Roblox game: 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)..."
  "twitter:image": "https://scriptblox.com/images/script/4316878-1726881364327.png"
  "twitter:title": "Lib | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/4316878-1726881364327.png)

# **Lib**

10K executions

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![areyoumental110](https://scriptblox.com/images/photo/66d682a10a9db34a5ce7a22f-1725489201780.png) [areyoumental110](https://scriptblox.com/u/areyoumental110) ![Verified Badge](https://scriptblox.com/_ipx/_/images/verified.webp)Lv 18Published 50**

2 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=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. May 30, 2026

   ****Script edited:**** Update script
2. Apr 12, 2026

   ****Script edited:**** 4 spaces replaced with a tab
3. Apr 12, 2026

   ****Script edited:**** Update script
4. Mar 27, 2025

   ****Script edited:**** Update script
5. Dec 22, 2024

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Lib-18698)

```
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 **](https://scriptblox.com/login?redirect=/script/Universal-Script-Lib-18698)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Lib-18698#script","url":"https://scriptblox.com/script/Universal-Script-Lib-18698","name":"Lib","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"areyoumental110","url":"https://scriptblox.com/u/areyoumental110"},"datePublished":"2024-09-21T01:16:04.406Z","image":"https://scriptblox.com/images/script/4316878-1726881364327.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Lib-18698#webpage","@type":"WebPage","description":"Lib for any Roblox game: 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)...","name":"Lib | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Lib-18698","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Lib-18698#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Lib-18698#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Lib-18698"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Lib-18698#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Lib","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
