Does anyone know how to make a Cash giver while doing an animation?

I want to make it so when doing an animation you get cash, how do I do that?
I’m wondering how to do this, this idea is from Thug Life. I just need help figuring out how to do that.

There is a .isPlaying event for animation tracks. It will return true if the animation track is playing.

2 Likes

I’d probably go about it by having a LocalScript on the client that makes your character play an animation every time you click a button and at the same time send a request to the server to execute a cash payout to your character. If you want to keep it from being spammed, definitely implement some kind of debounce.

1 Like