Module X UI Library
Key RequiredUniversal

Module X UI Library

Universal ScriptKyerealKyereal 1.4K views 26 executesUpdated Dec 8, 2025
2.5/ 5(4 votes)
2250% Positive
Lua Script•36 lines (957 chars)
local ModuleX = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kyereal/ModuleX-UI-Library/refs/heads/main/Module%20X"))()
local UI = ModuleX.new()

-- Loading Screen
UI:SetLoadingText("Loading ModuleX...")
UI:SetCreditsText("kye._real")

-- Tabs
UI:CreateTab("Universal")
UI:CreateTab("Random")

-- Buttons
UI:AddButton("Universal", "Infinite Yield", function()
    loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
end)

UI:AddButton("Random", "Print Hey", function()
	print("Hey")
end)

-- Toggles
UI:AddToggle("Universal", "Auto Farm", false, function(state)
    if state then
        print("Auto farm turned ON") -- Toggled
    else
        print("Auto farm turned OFF") -- Not Toggled
    end
end)

-- Slider Color
UI:SetSliderColor("Green")

-- Slider
UI:AddSlider("Universal", "WalkSpeed", 16, 200, 16, function(value)
    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
end)

Features & Information

I tried to script a UI Library, First time, send comments on what to add next it right now has buttons and etc. I got inspired by rayfield to try to do one of these. Some feature might not work. Ive only tested this on Xeno so idk about other executors. The slider color must come before the slider or else the slider wont work. Module X SetUp Commands UI:SetLoadingText(LoadingText) UI:SetCreditsText(CreditsName) UI:CreateTab(TabName) UI:AddButton(TabName, Button name) UI:AddToggle(tabName, text, defaultState) UI:AddSlider(tabName, text, min, max, defaultValue) UI:SetSliderColor(color) How to use UI:AnyCommand("") SilderColors: Red = Color3.fromRGB(255,0,0) Blue = Color3.fromRGB(0,170,255) Green = Color3.fromRGB(0,255,0) Yellow = Color3.fromRGB(255,255,0) Purple = Color3.fromRGB(179,2,255)

Community Comments (8)

Thelon3lyguy123Thelon3lyguy123Dec 8, 2025

The start of something new W

Replying to @Thelon3lyguy123
KyerealKyerealDec 8, 2025

@Thelon3lyguy123 Tyy ive been trying to create this for awhile now but kept giving up

Replying to @Kyereal
Thelon3lyguy123Thelon3lyguy123Dec 8, 2025

@Kyereal dont give up!

Replying to @Thelon3lyguy123
KyerealKyerealDec 8, 2025

@Thelon3lyguy123 I won't ty, what should I also add to the script when I get time??

AI Library

Replying to @00000000000000000000
KyerealKyerealDec 10, 2025

@1alt_ ???

frzfrsyfrzfrsyDec 12, 2025

one question, how do you maximize or restore the gui? thats why you shouldnt obfuscate the script when creating a UI library, *ody does that

Replying to @frzfrsy
KyerealKyerealDec 12, 2025

@frzfrsy I havent added a feature to maximize but to restore i just execute it again

More Scripts for Universal Scripts