Capture area / castle etc.

I want to make a capture zone which goes to 100% after a certain amount of time…