"Hey fellow devs, I'm trying to create a simple script that makes NPCs dance to the beat of in-game music in a Lua-based game. Been searching online but can't seem to find a straightforward solution. Has anyone got an example or a starting point for a script like this, or at least some general advice on how to tackle it?"