Regarding the design of the buff/debuff system, I would like to seek some case study references

Excuse me, I want to make a combat system with some buff/debuff effects
Regarding the buff structure, are there any code examples to look at?
For example, for the buff module, installation trigger, periodic trigger, and end trigger; layers control and refresh mechanism.
And buff affects various attributes, animations, and the overlay/priority management between them.
I hope there is a complete case to learn from

I searched on the intranet for a day, but my search ability was not strong, so I didn’t find a case.
I wonder if any friends can share it?

English is not my native language, so I used google translate to translate the above text. If bring feel uncomfortable reading, I hope to forgive me.sorry.

I’ve made one myself, but it is incomplete and can possibly be better.

I use NumberValues within a folder in the character to represent buffs/debuffs/modifiers, and have a script listen to them be added and removed. It responds in accordance to the NumberValue’s name, with it’s intensity determined by the NumberValue’s Value. I do all of that on the server too, through a module.

The modifiers i have made so far are SPD, DMG, DEF, NOSPD, NOJMP and VENOM.

i hope this helps!!!

Thank you friend, this is very helpful.
grateful