Cooldown attacks not working

So I was following a brackeys tutorial, as your should, and I am getting pissed off about why this piece of code isn’t working (The cooldown part)

void Update()
{
    if (Time.time >=nextAttackTime)
    {
        if (Input.GetMouseButtonDown(0))
        {
            nextAttackTime = Time.time + 10;
            
            Attacking();
        }
    }
}

Show what you are storing in nextAttacktime, ok?

I think you have to use Time.deltaTime with that to get real time in that.