Teemo stayed in place for 2 seconds, triggering the invisibility effect, without any action or damage. After breaking stealth for 3 seconds, the attack speed is increased by 40% in 2 seconds. Any operation will be out of invisibility.
A brief introduction to Teemo's script.
Teemo used a stored mushroom to set a trap. If the enemy steps on it, it will explode and poison the surrounding enemies. Poisoned enemies will take 200/325/450+ (spell strength *0.8) magic damage within 5 seconds and reduce their movement speed by 30%/40%/50%.
Trap lasts 10 minute. Teemo will find a mushroom every 30/26/22 seconds, but because he is not big enough, he can only carry three mushrooms at a time.