How do you unlock a barrier using flag zones

I am making a map so you pick up flags and put them into 3 flag zones and if you get all 3 you will deactivate a barrier I need help on that

Welcome to the forums, @Djjj !

Make sure to check out the new-user-must-read and forum-tips tag!

The Community Made Guides category is also very useful! The posts there give you a gist of the rules and mechanics in Gimkit Creative!

I suggest also reading the TOS and FAQ!

(Flag) Flag Captured —> (Counter) Increment Counter

(Counter) Target Value Reached —> (Barrier) Deactivate Barrier

is it possible to deactivate flag zones?
flag captured → deactivate zone
zone deactivated → increment counter
counter target value is 3
target value reached → deactivate barrier