Hotbar System. (making it)

Hey everyone,

I’m working on a hotbar system for my gamea battlegrounds game . I want it to work smoothly on Right. However, I’m struggling to get it right.

What I Need:

  • A hotbar UI that displays four moves.
  • Cooldowns for each move.
  • An Auto-Use feature (if the player has AutoUse set to true, the move should activate automatically when it’s available).
  • Mobile & console support (buttons for mobile, controller compatibility for consoles).

I found TSB’s hotbar in the toolbox, but it lacks cooldowns and auto-use, so it doesn’t quite work for my needs.

I’d really appreciate any help or examples to point me in the right direction.

im working on a system like this, you can examine it. almost done.

Cooldowns are probably scripted in the abilities itself get the tick it was used and how long you have to wait before using it

For auto-use, once you have the cooldowns you can use a loop to check if they’re off cooldown and tell the server to fire the ability if they are (ofc sanity checks on the server still)

ty if its ready could u dm me or reply here?

ty ill add it to my notes so i could try it

1 Client uses a skill move
2 Client fires server the skill move
3 Server executes the skill and tells the player to start cooldown and sends workspace:GetServerTimeNow()
4 Skill move info such as name / levelRequired / coolDown are held in ReplicatedStorage for both boundaries easy access so the client can visualize the cooldown.
5 Do what you prefer with the design (sliding cooldown, etc)
6 Server doesn’t constantly track or update your cooldown, just once checks if the time since that GetServerTimeNow that cooldown time has passed