list

Lets you create a new list (dropdown) with the given in options

local combat = window:Page({Name = "Combat", Icon = "rbxassetid://0"});
local main_combat = combat:Section({Name = "Main", Side = "Left", Size = 100});

local toggle = main_combat:List({
    Name = "Kill Method",
    Flag = "kill_method",
    
    Options = { "Void", "Random" },
    Default = "Void",
    
    Callback = function(item)
        print(item)
    end
})

Methods

Dropdown:Refresh(tbl)

Dropdown:SetText(text)

Dropdown:SetOption(option)

Dropdown:SetCallback(callback)

Last updated