Make player get 10 health on Secondary mouse

Hi,

I’m struggling with my problem: I can’t find how to add 10 health on secondary mouse, I bet it’s something really simple I just can’t see.
How to do so?

shared.lua (not the whole file):
[LUA]function SWEP:SecondaryAttack()

self.Weapon:SetNextSecondaryFire( CurTime() + 1.0 )

end[/LUA]

[LUA]function SWEP:SecondaryAttack()
self.Owner:SetHealth(self.Owner:Health() + 10)
self.Weapon:SetNextSecondaryFire( CurTime() + 1.0 )
end[/LUA]