50% chance to make a boolean true or not by clicking a button? <p>I've been stuck on this for a while, I'm trying to figure out how to make a boolean have a 50% chance to be set to true after clicking a button and a 50% chance to keep it false.</p> <p>Any help would be appreciated.</p>