Hello,
I've made a coroutine which applies a buff to a player.
It works like this :
**Applying Buff :**
stoptime=Time.time+buffDuration;
StartCoroutine("BuffAttack");
**Coroutine :**
function BuffAttack();
attack=2;
while (Time.time
↧