Timer for function menu [HELP] pls

Hi, I need help. I created a function to be able to raise funds (money) except that this function can spam, I would like to put a time before starting again.

How can I do ?

Thanks You

Wait(math.ceil(waitTime))