How can I create a timer for my flight mode? (After the timer ends it returns back to normal)

That’s a custom bool variable ThompsonN13 created.