Please use the code tags when posting code: Using code tags properly
This should point you in the right direction: Unity - Scripting API: WaitForSeconds
Please use the code tags when posting code: Using code tags properly
This should point you in the right direction: Unity - Scripting API: WaitForSeconds