I've been trying to get to grips with timed events, and despite my reading and experimenting I can't quite get my head around something. I have a script that stuns enemies, and it does work in part, but the effects aren't removed after a set time. I've been trying to remove the effects using the 'Do After' block, and I've tried several different ways. Please see a screenshot attached with two methods I've been trying.
When enemies are hit, they change colour, drop, and buzz around on the floor. After 10 seconds they should revert back to their original colour, get up and start flying around again. I've been trying to get this working for two days, and would appreciate a little help. Thanks.