Mango Lib
  • Mango UI Library
    • Example
  • Library Items
    • Item functions
  • UI Library Code
Powered by GitBook
On this page

Library Items

-- Creating A Button
TabFarm:Button("print hi", function()
    print("Hi!")
end)
-- Creating A Toggle
TabFarm:Toggle("Print True / False", function(Bool)
    print(tostring(Bool))
end)
-- Creating A Dropdown
TabFarm:Dropdown("Select Enemies", {"Bandit", "Crook", "Marine"}, function(EnemyName)
    print(EnemyName)
end)
-- Creating A Slider
TabFarm:Slider("Walk Speed", 16, 500, 50, function(Value)
    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
end)
-- Creating A TextBox
TabFarm:TextBox("Type Hi", function(Value)
    if Value == "Hi" then
        print("Correct Text")
    else
        print("Incorrect Text")
    end
end)
-- Creating A KeyBind
TabFarm:KeyBind("Spam Hi", Enum.KeyCode.B, function(Value)
    while Value do task.wait()
        print("Hi")
    end
end)
-- Creating A Label
TabFarm:Label("This is A Label")

/Mango Lib

PreviousExampleNextItem functions

Last updated 2 years ago