ive got a script that uses context action service to handle abilities, then i have another script that uses userinputservice to handle a visual display of the cooldowns on the abilities. the visual cooldowns thing doesnt work, if i set the visual cooldowns keybind to something else it works. if i remove the "if gameProcessedEvent then return end" then it works. pls help!!
#context action service is overriding userinputservice :(
1 messages · Page 1 of 1 (latest)
** You are now Level 4! **
yayz :D
its because the two keybinds overlap
contextactionservice takes it up and the gameprocessedevent is therefore true for the keybind
removing the gameprocessedevent check means you are only listening for the input itself, without regard for whether or not it did something (like type in chat or be used by cas)
hmm
probably the easiest solution would be to couple their logic
i guess i have to put them in the same script
damn i was really hoping to not have to do that </3
?
if you really dont want to you can just use a bindableevent
that fires whenever the contextactionservice call is triggered
and the logic stays in 2 diff scripts
oh actually thats a really good idea
though i wouldnt reccomend it unless you really have to
why is it necessary for them to be in 2 diff scripts?
ehhh im just lazy and dont want to update all of them, i have a bunch of different characters
probably should at some point make a module script for the abilities
yea it makes this way easier
:P