Code DmgFxSound v2.22 - Automated Damage FX & Audio Manager (System Agnostic) DmgFxSound is a unified combat manager that intercepts HP changes on a token and instantly triggers synchronized WebGL visual FX and Jukebox audio tracks. Whether you are running 5e, a generic ruleset, or a heavily homebrewed sci-fi game, this script handles the visuals and sound effects so you can focus on running the game. Key Features & Highlights Fully GUI-Driven: The entire script is managed via an in-chat visual dashboard ( !DmgFxSound-menu ). Universal HP Tracking: Triggers automatically whether you edit a token's HP bubble manually, use TokenMod , or use the ApplyDamage script. Heal & Death Integration: Automatically detects when HP goes up (triggering healing FX/sounds) or drops to 0 (triggering customizable death FX/sounds). Granular Toggles: Turn specific visual or audio categories ON or OFF independently directly from the chat menu. The Three System Modes You can swap between three modes on the fly depending on what system you are playing: 5e Mode: The script passively watches the chat log for standard 5e damage types (fire, slashing, radiant, etc.) cast by players or monsters. When an HP drop occurs, it plays the specific FX and sound associated with that damage type. Generic Mode: It ignores chat entirely and simply plays a generic hit visual and sound whenever HP drops. Custom Mode: Completely system-agnostic. You can add your own custom trigger words (e.g., "plasma", "laser", "pew pew") via the dashboard. The script will watch chat for your specific words and trigger the FX/sounds you assign to them. (It fully supports multi-word triggers!). Smart Jukebox Integration When you copy scripts between games, audio tracks often break if they aren't in the new game's Jukebox. DmgFxSound has built-in validation. It checks your config against the active Jukebox before attempting to play a sound, preventing silent API crashes. It also features a 1-click Reload & Cleanup button to safely purge missing "ghost tracks" from your database. How to Use It Install the script in your API Sandbox. Type !DmgFxSound-menu in chat to open the main dashboard. Add your Jukebox tracks, assign your visual FX shapes/colors, and set your HP bar. Reduce a token's HP and enjoy the show! Link to Code