Documentation

Library

local Library = loadstring(game:HttpGet("https://pastebin.com/raw/ANetM5R1", true))()

Create the Gui

local Gui = Library:Create(Name, Light, Size)

Change the Gui toggle key

Gui:ChangeToggle(Key)

KeyCodes are here: https://developer.roblox.com/en-us/api-reference/enum/KeyCode

Create an option

local Option = Gui:Option(Name)

Now for the interesting part!

These are all the current elements you can add

  • Labels

  • Buttons

  • Toggles

  • Boxes

  • Dropdowns

  • Sliders

Label

Option:Label(Content)
Option:Label("Label")

Button

Option:Button(Name, Callback)

Example

Option:Button("Button", function()
    print("Button")
end)

Toggle

Option:Toggle(Name, Default, Callback)

Example

Option:Toggle("Toggle", false, function(Status)
    print(tostring(Status))
end)

Box

Option:Box(Name, Default, PlaceholderText, ClearTextOnFoces, Callback)

Example

Option:Box("Box", "Box", "Box", false, function(Value)
    print(tostring(Value))
end)
Option:Dropdown(Name, Options, Callback)

Example

Option:Dropdown("Dropdown", {"#1", "#2", "#3"}, function(Value)
    print(tostring(Value))
end)

Slider

Option:Slider(Name, Minimum, Maximum, Default, Callback)

Example

Option:Slider("Slider", 16, 100, 16, function(Value)
    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Value)
end)

Last updated