Skip to content
/ Aero Public

Aero is a Roblox UI library focused on simplicity and performance.

License

Notifications You must be signed in to change notification settings

samerop/Aero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b15a754 · Apr 27, 2025

History

26 Commits
Apr 27, 2025
Jan 17, 2025
Apr 27, 2025
Mar 5, 2025
Apr 27, 2025

Repository files navigation

Aero UI Library

Important

Use global variables for methods instead of local (e.g., button = UI:CreateButton).

Getting Aero

UI = loadstring(game:HttpGet("https://raw.githubusercontent.com/samerop/Aero/main/source.lua"))()

Creating a Window

UI:CreateWindow({
  Title = "My Window",
  Key = "1234" -- Key system (Optional)
})

Creating a Tab

mainTab = UI:CreateTab({
  Name = "Main"
})

Creating a Button

Button = UI:CreateButton({
    Text = "Button",
    Tab = mainTab,

    Callback = function()

    end
})

Creating a Toggle

Toggle = UI:CreateToggle({
    Text = "Toggle: OFF",
    Tab = mainTab,

    Callback = function(boolean)
        if boolean then
            Toggle.Text = "Toggle: ON"
        else
            Toggle.Text = "Toggle: OFF"
        end
    end
})

Creating a Keybind

Keybind = UI:CreateKeybind({
    Text = "Keybind",
    Tab = mainTab,
    DefaultKeybind = Enum.KeyCode.C,
    Toggle = true,
	
    Callback = function(boolean) -- If Toggle is false, you don't need 'boolean'
        if boolean then

        else

        end
    end
})

Creating a TextBox

TextBox = UI:CreateTextBox({
    Text = "TextBox",
    Tab = mainTab,
    PlaceholderText = "",
    Default = 10, -- Optional

    Callback = function(text)

    end
})

Note

If the player leaves TextBox blank, Callback won't execute unless a Default value is provided.

Updating a Element

You can easily update an element using the variable you assigned to it. For example:

button = UI:CreateButton({
    Text = "Print",
    Tab = mainTab,

    Callback = function()
        print("Hello")
        button.Text = "Successfully printed"
        button.BackgroundColor3 = Color3.new(0, 1, 0)
    end
})

Notifying the Player

Notification

UI:Notify({
    Title = "Powered by Aero",
    Text = "Welcome",
    Duration = 5,
    Icon = "rbxasset://textures/loading/robloxlogo.png" -- Optional
})

Note

Icon Paths

  • rbxassetid:// (user-uploaded assets, requires the asset's ID)
  • rbxasset:// (built-in Roblox content: %localappdata%\Roblox\Versions\<version>\content)