Scripting issue. Need help.

Hey everybody! At the start of a match I need to make a block move up after 30 seconds and needs to stay up for 5 seconds then come back down. I would like this process to repeat through my whole custom. Can any one figure the script out for this? Thought I had it but after a little play time it messes up. Thanks