game menu buttons

hey making a menu for my game and have to buttons one that i want to make a variable false and one to make it true

With what exactly do you need help? @HaKcEr_69