timer countdown? and 5 stikes?

I was wondering if it is possible to set a timer that counts down... Such as have 30 seconds to complete a task? Also is it possible to add a 5 strike rule? if they get the wrong actor 5 times the level stops? and repeats? Let me know guys!