
2.9k Views
347 Executions
ONYX LIB (V1.6)
Universal Script 📌
ONYX_HUBB10 followers
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo 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
--[[
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)}
}









If you can make a script for "Tokyo Online," my Discord is lld01.
You have discord? i wanna md you
@Matukex_Studio yes I do. 4x96xrevived
@ONYX_HUBB accept request on discord
im mateowei
[deleted]
[deleted]
@Shadow69 I used Ai for the developer notes in the code.