ContentActionService Runs Multiple Times

Hello Scripters.

Recently I Had Been Making A Piano Game.
You Know The I and O button Dosent Work With UserInputService.

But When I Use ContentActionService. Well
It Runs 2 Times.

Heres The Part Where It Runs Multiple Times.

cas:BindAction("IKey", IkeyPressed, false, Enum.KeyCode.I)

Sounds like it runs on input begin and end since it runs 2 times.

Make sure to check userinputstate for begin only within the function. There is example code in the docs for that.

2 Likes

it worked almost instanty lol :laughing:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.