Universal Script 📌
2.9k Views
347 Executions

ONYX LIB (V1.6)

Universal Script 📌
ONYX_HUBB
ONYX_HUBB10 followers
11 months 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

​Fluid. Responsive. Reliable. ​Onyx is a high performance interface library built specifically for Script Hub Developers. It abstracts away the complex math and input handling, giving you a premium, motion rich UI that just works. -- UPDATES -- - REWROTE THE CODE SO IT CAN BE CLEAN - BIG UPDATE IN THEME CUSTOMIZATION -- ONYX LIB INCLUDES -- - Sliders - Toggles (Notification Ones Included) - Buttons (Notification Ones Included) - Theme Customization - Smooth Effects - Welcome Intro -Notification API - Searching - Headers - Discord button - Drop Boxes - Squircle Toggle - KEYBIND Binding -- UPCOMING -- - Tabs - Home Page

View Raw
--[[
    ONYX LIB 1.6 (i rewrote the code since it was ass hope you enjoy this new code) 
    dev by: ONYX
    status: working / optimized
]] 

--- Configuration ---
local DiscordInvite = "https://discord.gg/aYxDs6KsWZ" ---you can change this to your own discord server ---

--- Services ---
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local Lighting = game:GetService("Lighting")
local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

--- Constants & Tweens ---
local TWEEN_TOGGLE_OPEN = TweenInfo.new(0.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out)
local TWEEN_TOGGLE_CLOSE = TweenInfo.new(0.4, Enum.EasingStyle.Exponential, Enum.EasingDirection.In)
local TWEEN_MINIMIZE = TweenInfo.new(0.4, Enum.EasingStyle.Quint, Enum.EasingDirection.In)
local TWEEN_CLOSE_X = TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.In)

local TWEEN_QUINT = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
local TWEEN_FAST = TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
local TWEEN_CLICK = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local TWEEN_RESET = TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out)
local TWEEN_DROPDOWN = TweenInfo.new(0.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out) 

--- Theme Configuration ---
local Themes = {
    Purple = {Header = Color3.fromRGB(20, 20, 28), Accent1 = Color3.fromRGB(130, 0, 255), Accent2 = Color3.fromRGB(190, 100, 255), SwitchOn = Color3.fromRGB(140, 0, 255), Text = Color3.fromRGB(255, 255, 255)},
    Green = {Header = Color3.fromRGB(20, 28, 20), Accent1 = Color3.fromRGB(0, 255, 110), Accent2 = Color3.fromRGB(120, 255, 160), SwitchOn = Color3.fromRGB(0, 200, 80), Text = Color3.fromRGB(255, 255, 255)},
    Blue = {Header = Color3.fromRGB(20, 24, 30), Accent1 = Color3.fromRGB(0, 160, 255), Accent2 = Color3.fromRGB(80, 220, 255), SwitchOn = Color3.fromRGB(0, 140, 255), Text = Color3.fromRGB(255, 255, 255)},
    Red = {Header = Color3.fromRGB(30, 20, 20), Accent1 = Color3.fromRGB(255, 40, 60), Accent2 = Color3.fromRGB(255, 100, 120), SwitchOn = Color3.fromRGB(220, 0, 60), Text = Color3.fromRGB(255, 255, 255)}
}



Comments

6
Log in to join the conversation. Login
zxcHaZe's profile picture
zxcHaZe10 months ago

If you can make a script for "Tokyo Online," my Discord is lld01.

1
Matukex_Studio's profile picture
Matukex_Studio11 months ago

You have discord? i wanna md you

-1
ONYX_HUBB's profile picture
ONYX_HUBBUploader11 months ago

@Matukex_Studio yes I do. 4x96xrevived

1
Matukex_Studio's profile picture
Matukex_Studio11 months ago

@ONYX_HUBB accept request on discord

1
Matukex_Studio's profile picture
Matukex_Studio11 months ago

im mateowei

1

[deleted]

Replying to a deleted comment

[deleted]

Replying to a deleted comment
ONYX_HUBB's profile picture
ONYX_HUBBUploader11 months ago

@Shadow69 I used Ai for the developer notes in the code.

1

Tags

More universal scripts

See all
Universal Script 📌
0
0
Approved 28 seconds ago
Key System
Universal Script 📌
12
0
Approved 10 minutes ago
Universal Script 📌
12
1
Approved 15 minutes ago
Script hub
80
1
Approved 1 hour ago
Universal Script 📌
555
701
Bumped 2 hours ago
Script hub
1.6M
2.1M
Bumped 9 hours ago
Key System

Script hub

#12 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
269.4k
121.2k
Bumped 10 hours ago
Key System
Script hub
171.5k
1.4M
Bumped 13 hours ago
Key System