Bossbars With Infinite IDS & Scoreboard Update Help

I am friends with a Minecraft content creator ArwenOC, who got me as far as creating the bossbars with different IDs but now I am stuck trying to figure out how to store my magic cooldown into each boss bar seperately: Why? Basically Jragon014 in TTB 0.8 was going to add Disunity a cooldown system for all magic TTB items, I'm updating TTB and trying to recreate that system but have barely any idea how macros work: I've talked with Arwen who showed me a lot but now I am stuck. I know I could figure it out in a few years of practice but I just want it to work now. So I can code the staffs properly, will someone please help?
Continue to help post