Trying to make a tool into a hotbar tool

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    well when the player presses the button 1 or the icon for the tool to be equipped
  2. What is the issue? Include screenshots / videos if possible!
    well as the current roblox hotbar only allows 3 tools on it for mobile devices, im in the middle of trying to make a hotbar for which could have 4 tools
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i have tried making my own, and also looking around the web for help and solutions to the issue

i have the hotbar with 4 icons on it, but when i click on them they dont equip, or if i press 1

What’s the script you’re currently working with?

https://developer.roblox.com/en-us/api-reference/function/Humanoid/EquipTool

well currently I’m still using the default roblox one as its in the process of trying to be fixed, I’m using image buttons to equip to tools, i have looked at the equiptool function, i did get close with it, being able to equip the tools, but then couldn’t unequip