Universal Script 📌
1.6k Views
32 Executions

Theme Switch Kavo UI

Universal Script 📌
NeptuneM500Fan
NeptuneM500FanFirst script
1 year 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

A library from Kavo UI so you can drag on mobile and change themes. (Includes theme saving)

View Raw
-- Kavo UI Theme Changer with Rainbow Support (made by thebiggestpro01, on GitHub!


-- Implement this to your script! Instructions:
-- 1. Copy all the local functions including the rainbowCycle function, which makes the rainbow cycle work (do NOT put the delayed function on the top, it is supposed to be on the VERRYYYYY bottom of the script to make sure the UI loads succesfully) , and paste them all on the top of your script, right after you create the window.

-- 2. The only themes supported are those on the "local themes" function, each table uses the premade theme's from the library RGB scheme, (SchemeColor, Background, Header, TextColor etc), to add one that you want, copy another theme table and add your own RGB stuff, make sure to add the extra } on your new theme, and remove the extra } on other theme tables that are NOT the last table on the function list, and then add your theme button, with the applyTheme("theme name") argument in your script. 


-- 3. Make sure the ThemesSection and Tab for the themes are the LAST ones made, to isolate any errors the buttons might cause, making the rest of the script function right, but making so the Themes stuff won't load in any case of error, like a infinite unexpected loop.

-- 4. If you don't want a function to save or load a saved theme from the written files, do this:
-- Remove "themeSaveFile"
-- Remove the saveTheme function
-- Remove the saveTheme argument from every theme button
-- And other arguments and functions, like loadSavedTheme()
-- ULTRA RECOMMENDED: REMOVE THE FUNCTION WITH A 0.01 DELAY FULLY, OR ELSE IT MIGHT HALT THE WHOLE SCRIPT OR MIGHT CRASH THE LIBRARY

-- Now here's a example you can use


local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/thebiggestpro01/Nexusoritation/refs/heads/main/KNOLib2"))()
local Window = Library.CreateLib("Kavo UI - Theme Changer", "DarkTheme")
local Tab = Window:NewTab("Themes")
local ThemesSection = Tab:NewSection("Choose a theme")
local themeSaveFile = "SavedTheme.txt"

local themes = {
    Private = {
        SchemeColor = Color3.fromRGB(255, 215, 0),
        Background = Color3.fromRGB(31, 41, 43),
        Header = Color3.fromRGB(22, 29, 31),
        TextColor = Color3.fromRGB(255,255,255),
        ElementColor = Color3.fromRGB(22, 29, 31)
    },
    DarkTheme = {
        SchemeColor = Color3.fromRGB(64, 64, 64),
        Background = Color3.fromRGB(0, 0, 0),
        Header = Color3.fromRGB(0, 0, 0),
        TextColor = Color3.fromRGB(255, 255, 255),


Comments

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

More universal scripts

See all
Universal Script 📌
2.9k
17.7k
Bumped 39 minutes ago
Key System
Universal Script 📌
6.7k
20.7k
Bumped 52 minutes ago
Key System
Universal Script 📌
53
3
Approved 2 hours ago
Universal Script 📌
52
1
Approved 2 hours ago
Universal Script 📌
92
31
Approved 3 hours ago