Timer Script

I need a timer script to place on a keyframe that count 5 seconds then goto next frame.