But the tools backpack already uses those keys. Say tool1 is a sword and there are multiple skills associated with that sword, how would I go about it? I don’t really want keys 1-9 associated with the tools and the skills. Any ideas?
3 Likes
Hello.
First you need to disable the tool bar with StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false),
Then, bind each skill to the numeric keys using ContextActionService
I would bind functions as indexes of a table. So, when the player change the weapon, just set that weapon skills in a for loop in that table.
Sorry for my bad english. Hope it help you.
4 Likes