guys i finally fixed the issue with the delay before the attack 1 it was because i was waiting wayy to long to see if the player presses the f key twice i just tunned it down and now it works perfectly