Is this prank illegal?

I pull up at bank atms wearing a black mask. I claim I just had a very successful heist and want to give some of it to the people using the atms, and actually give them a stack of cash.

I don’t want to go through all the trouble of informing the police officers prior since my channel is not big yet and it might be difficult.

Is this prank illegal?
Post Opinion