Config.Abilities = { ['wizard'] = { name ="Wizard", displayOrder =1,isVisible=function(source)-- return true if the ability should be visible in the UI-- server sidereturntrueend, abilities = { ['water_spell'] = { label ="Water spell", icon ="fas fa-user", useCooldown =5,onUse=function()-- client sideprint("Water spell used by "..GetPlayerName(PlayerId()))end }, ['fire_spell'] = { label ="Fire spell", icon ="fire_spell.png", useCooldown =5,onUse=function()-- client sideprint("Fire spell used by "..GetPlayerName(PlayerId()))end }, } }, ['vampire'] = { name ="Vampire", displayOrder =2,isVisible=function(source)-- return true if the ability should be visible in the UI-- server sidereturntrueend, abilities = { ['more_hp'] = { label ="More Hp", icon ="more_hp.png", useCooldown =5,onUse=function()-- client sideprint("More hp used by "..GetPlayerName(PlayerId()))end }, } },}
Hotbar settings
Config.UseBuildInHotBar =true--- true/false
Use the build in hotbar, if set to false you can use your own hotba if you are using custom hotbar use client event to listen for hotbar changes