HotbarPlus
Construct intuitive hotbar items and bind functions or conditions to easily create items and abilities.
Hi guys,
I needed to make a hotbar for my game, so I thought, why not just make this a module? Now you don't have to spend any time making yet another hotbar 'cause you can just write like 10 lines with this and you're done.
There's a link to the Github below, along with the documentation site. Oh and the module itself too.
Hope it's useful!
Only takes a couple lines
local Dismantle = Hotbar.new() --To make the first item shown above
:setText("Dismantle")
:setLabel("1")
:bindToggleKey("One")
Docs
Thanks to
@ForeverHD, though not directly scripting anything, for his TopbarPlus which I have taken much inspiration on structure and object-oriented design from
@pobammer for the Janitor library
@stravant for the GoodSignal package