This documentation is for the stable release of Moderka Library.
local ModerkaLibrary = loadstring(game:HttpGet("https://raw.githubusercontent.com/ttwizz/Roblox/master/ModerkaLibrary.lua", true))()
local Window = ModerkaLibrary:AddWindow("Title of the library")
local Page = Window:AddPage("Page 1")
local Button = Page:AddButton("Button 1", function()
print("Button 1 pressed!")
end)
local Label = Page:AddLabel("Label 1")
local Dropdown = Page:AddDropdown("Dropdown 1", {"Value 1", "Value 2", "Value 3"}, function(Value)
print(Value)
end)
local ColourPicker = Page:AddColourPicker("Colour Picker 1", "white", function(Value)
print(Value)
end)
local Slider = Page:AddSlider("Slider 1", {Minimum = 0, Maximum = 255, Default = 50}, function(Value)
print(Value)
end)
local Toggle = Page:AddToggle("Toggle 1", false, function(Value)
print(Value)
end)
local TextBox = Page:AddTextBox("TextBox 1", function(Value)
print(Value)
end)
Window:Destroy()
Copyright (c) 2024 ttwiz_z