skidracer #1 You need to reset your counter if the mouse is not down, i would go for code more like this: if mousedown if shotdelay shotdelay=shotdelay-1 else fireshot shotdelay=10 endif else shotdelay=0 endif