Universal Script 📌
1.4k Views
30 Executions

Module X UI Library

Universal Script 📌
Kyereal
KyerealFirst script
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

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)

Updates

  1. Script edited: Added Toggle, Slider, SliderColor

View Raw
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)


Comments

8
Log in to join the conversation. Login
Thelon3lyguy123's profile picture
Thelon3lyguy12311 months ago

The start of something new W

2
Kyereal's profile picture
KyerealUploader11 months ago

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

1
Thelon3lyguy123's profile picture
Thelon3lyguy12311 months ago

@Kyereal dont give up!

1
Kyereal's profile picture
KyerealUploader11 months ago

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

1
frzfrsy's profile picture
frzfrsy11 months ago

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

1
Kyereal's profile picture
KyerealUploader11 months ago

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

1
00000000000000000000's profile picture
0000000000000000000011 months ago

AI Library

1
Kyereal's profile picture
KyerealUploader11 months ago

@1alt_ ???

1