Delay in a function

Thanks for the replies!
Guess I’m going to be getting creative then…!