- Easy Button finder
Simple Topbar was created to make making topbars more easy! Create sleek and wonderful topbars with little to no effort!
To use SimpleTopbar simply drag the module script into server script service (SSS) and create a new script.
To load in a topbar icon open the script and use,
local module = require(game:GetService("ServerScriptService").SimpleTopbar)
module.newTopbar("self", "name","rbxassetid://image here", width)
Now change name
to what you want your buttons name to be called, set image here
to your image ID and width
to the width of the topbar button, (use 32 for square).
Example:
Important!
to refer to the topbar button just do
game.Players.LocalPlayer.PlayerGui.TopBarUI.Bar.ButtonName -- change button name to the button name you specified
Hope you all enjoy! - Spa_rkk
To make icons for the plugin I would highly recommend photopea (photopea.com) it is free and in the browser! It is a very good alternative to PS (photoshop) If you are trying to get a perfect fit for your topbar button if your button is lets say 64 x 32 just times them by 10, that will make sure your image lines up perfectly with the button.
Update!
You can now easily find the buttons with:
module.buttons[] -- replace empty space with what button (1,2,3 ect)
to use this lets just say we create 2 buttons, to find the first one you would run the code above and replace the empty space with a 1 now replace it with a 2 for the second button!