Skip to content
/ Aero Public

Aero is a minimalist ROBLOX UI library featuring simplicity and a clean and efficient design, without the use of animations or superfluous objects.

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

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AeroBanner

Aero UI Library

Important

Avoid assigning methods to variables directly (e.g., local 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", -- Title displayed at the top of the window
  Draggable = true -- Should the window be draggable?
})

Creating a Tab

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

Creating a Button

UI:CreateButton({
  Text = "Print", -- Text for the button
  Tab = "Main", -- Tab where the button will be located

  Callback = function()
    print("Hello, World!")
  end
})

Note

The Text of the button will also be the name of the button.

Updating a Button

UI:UpdateButton({
  Button = "Print", -- Name of the button
  Tab = "Main", -- Name of the tab where the button is located
  Text = "Printed!" -- New text for the button
})

Creating a Toggle

UI:CreateToggle({
  Text = "Sprint: OFF",
  Tab = "Main",

  Callback = function(boolean) -- Initial state of 'boolean' is true
    if boolean then
      game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
    else
      game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
    end
end,
  TrueText = "Sprint: ON",
  FalseText = "Sprint: OFF"
})

Creating a Keybind

Keybind

Toggle = true

UI:CreateKeybind({
    Text = "Sprint",
    Tab = "Main",
    DefaultKeybind = Enum.KeyCode.E,
    Toggle = true,

    Callback = function(boolean)
        if boolean then
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
        else
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
        end
    end
})

Toggle = false

UI:CreateKeybind({
    Text = "Print",
    Tab = "Main",
    DefaultKeybind = Enum.KeyCode.E,
    Toggle = false,

    Callback = function()
      print("Key pressed!")
    end
})

Creating a TextBox

TextBox

UI:CreateTextBox({
  Text = "Walk Speed",
  Tab = "Main",
  PlaceholderText = "Value",
  Default = 16, -- Value if player leaves TextBox blank (Optional)

  Callback = function(text)
    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(text)
  end
})

Note

If there is no Default and the player leaves TextBox blank, it will return and Callback won't execute.

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)

Miscellaneous

Settings

  • Click the gear icon in the top-right corner to open settings
  • Toggle Aero: Toggle the visibility of Aero (configurable, LeftControl is default)
  • Destroy Aero: Destroy the Aero UI

Minimize & Maximize

  • Click the button next to settings to minimize and maximize Aero

About

Aero is a minimalist ROBLOX UI library featuring simplicity and a clean and efficient design, without the use of animations or superfluous objects.

Topics

Resources

License

Stars

Watchers

Forks

Languages