Switch Device not sending a signal

I want to show a message on the screen when a switch turns off from a VoteDevice, a class I made. But when I turn it off ingame, it does not run the function AA.

When I use Switch.TurnedOffEvent elsewhere, in my vote_device.verse file, it does work. Why does it not work in this context, I don’t get errors either.


Not sure if it is related, but I believe AA should be AA(Player:agent):void instead of AA(Player:player):void. Please try that and see if it helps.