Installation
Inject WschodLib into your workspace. Copy and paste this into your executor.
loadstring(game:HttpGet("https://wschodlib.vercel.app/wschodlib.lua"))()
Window
Create the main UI window. You can customize the name and accent colors.
local Window = WschodLib:CreateWindow({
Name = "Wschod Hub",
AccentColor = Color3.fromRGB(255, 255, 255)
})
Tabs
Organize sections of your UI.
local Tab = Window:CreateTab("Main")
Toggles
A simple on/off switch.
Tab:CreateToggle("Auto Farm", false, function(val)
print(val)
end)
Sliders
Adjust numerical values.
Tab:CreateSlider("WalkSpeed", 16, 100, 16, function(v)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
end)
Dropdowns
Select from a list of options.
Tab:CreateDropdown("Select", {"A", "B"}, function(opt)
print(opt)
end)
Labels
Display static text information.
Tab:CreateLabel("This is a label")
Paragraphs
Display multiline text with a title.
Tab:CreateParagraph("Title", "Content goes here...")
Keybinds
Bind a key to a function.
Tab:CreateKeybind("Toggle UI", Enum.KeyCode.RightControl, function()
Window:Toggle()
end)
Textboxes
Input text field.
Tab:CreateTextbox("Username", "Type here...", function(text)
print(text)
end)
Full Example Script
A complete script showcasing all features. Copy and run!
local WschodLib = loadstring(game:HttpGet("https://wschodlib.vercel.app/wschodlib.lua"))()
local Window = WschodLib:CreateWindow({
Name = "Wschod Hub",
AccentColor = Color3.fromRGB(0, 120, 255)
})
local MainTab = Window:CreateTab("Showcase", {
IconUrl = "https://wschodlib.vercel.app/icon2.png"
})
MainTab:CreateSection("Interactions")
MainTab:CreateButton("This is a button", function()
WschodLib:Notify({
Title = "Clicked",
Content = "You clicked the button",
Duration = 3
})
end)
MainTab:CreateToggle("This is a toggle", false, function(state)
WschodLib:Notify({
Title = "Toggle",
Content = "State: " .. tostring(state),
Duration = 3
})
end)
local Slider = MainTab:CreateSlider("This is a slider", 0, 100, 50, function(value)
end)
MainTab:CreateButton("Reset Slider", function()
Slider:SetValue(50)
WschodLib:Notify({
Title = "Slider Reset",
Content = "The slider has been reset to 50",
Duration = 3
})
end)
MainTab:CreateDropdown("This is a dropdown", {"Option 1", "Option 2", "Option 3"}, function(option)
WschodLib:Notify({
Title = "Selected",
Content = "You selected: " .. option,
Duration = 3
})
end)
MainTab:CreateSection("Text & Inputs")
MainTab:CreateLabel("This is a label")
MainTab:CreateParagraph("Paragraph", "This is a looooooooooooooong paragraph that explains how features work in detail.")
MainTab:CreateTextbox("This is a text box", "Type something...", function(text)
WschodLib:Notify({
Title = "Input",
Content = "You typed: " .. text,
Duration = 3
})
end)
MainTab:CreateKeybind("This is a keybind", Enum.KeyCode.RightControl, function()
WschodLib:Notify({
Title = "Keybind",
Content = "You pressed the keybind",
Duration = 3
})
end)
WschodLib:Notify({
Title = "Welcome",
Content = "Script Loaded Successfully",
Duration = 5
})