Mine
public text v1 · immutablefunction SWEP:Think()
if self.Owner:KeyDown(IN_USE) and self.Owner:KeyDown(IN_ATTACK2) then
if self.LastToggle>CurTime() then return end
if self.Hold==0 then
self:SetWeaponHoldType( self.HoldType )
self.LastToggle=CurTime+1
self.Hold=1
else
self:SetWeaponHoldType("none")
self.LastToggle=CurTime+1
self.Hold=0
end
end
end