Just click the flag and watch it happen.
Credit to @N0odlApe for teaching me some basics for the code I used. P.S. This is my first actualy project so sry for how basic it is.