Then this might fit your need, introducing
Accessories.lua v1.0

A library that lets you add stuff onto the player's sprites, without having to rely on costumes!
One benefit of that is that you can stack accessories, and have it a little bit easier to set them up!
While setting up accessories isn't trivial, it's at least somewhat streamlined.
Most of your work adding an accessory will be making offset.txt files (which specify X- and Y-offsets and frames depending on the player's current frame).
At least some basic lunalua konwledge is expected however, so be warned.
Here you can see the accessories in motion:
Of note:
There are 3 example accessories which you're free to use, however they are made to fit SMW-Mario specifically. If you use different/multiple characters, you have to change/add offset.txt files for the different characters/powerup states (small and big should suffice).
There's some documentation in the credits file, the example accessories might help too.
If you want to be as cool as Mario, make sure to leave proper credit!
You can get your dinosaur-hat here:
https://www.dropbox.com/scl/fo/zxr7594p ... tt07t&dl=0