just dropdown list
local dropdownList = require(dropdownList)
function a()
return "Amogus"
end
local List = dropdownList.DropdownList:new(
{ -- List of Elemets
dropdownList.Element("One", a), -- Second arg is function (you can don't add)
dropdownList.Element("Two"),
dropdownList.Element("Three"),
dropdownList.Element("UwU"),
},
Frame, -- Frame that will be
3, -- Rows, default 4
"Dropdown List" -- Name of List
)
List:Handler()
List:Update(function(newVal:number)
print(newVal)
end)
Example of use in ReplicatedStorage