So, as the title says, I need mobile support for fe melee kit, and I understand how normal mobile keybinds work, either, usercontextservice, but a big issue is that I’ve tried using this method but it does not work. In the ability module, there is keybinds you can set, but none of them seem to have any mobile support, if anyone can help me out that would be great. - CaptainQuackington
What doesn’t work about this method?
If it’s using the ContextActionService, you can customize the keybinds with that. If it’s using UserInputService, you’ll need to add some code to create and bind buttons.
Hmm, I’ll check that out, but the issue and where I get confused is that the keybind is set right in the module like this “(keybind)” so I don’t understand how to add contextactionservice to this, making me extremely confused, if you could tell me where to start that would be great, sorry if this seems hard to understand
Maybe I just don’t really understand contextactionservice, but that’s what stumps me
When an action is bound to the context action service, it looks like this:
ContextActionService:BindAction("SecondAction", actionHandlerTwo, false, Enum.KeyCode.Z, Enum.KeyCode.X)
(The false means that bound doesn’t create mobile buttons. If you set it to true you need to position the mobile buttons too.)
If there is a place to type in the keybind, you’re probably looking at the settings, not the actual code that’s creating the bind. Are you sure the code uses the context action service?
If you show some code I can probably explain this better.
I’m not at home atm, when I get home I’ll see whati can find, there is probably some code that is connected to the ability module, if you want to see my issue for yourself look up fe melee kit if you don’t have if already, then go to the ability module.
I figured it out (kinda) ill message you again if you need help! thx for everything