how can i make a block menu

when i say how can i make a block menui mean i already have a menu for my levels but how can i block the level so the player can play level 2 if he doesnt pass the level one first i hope some help

Very easy. Each GUI element can be enabled disabled by using GUI.enabled in front of the element. Note: if you set GUI.enabled to false all succeeding elements will be disabled. It’s some kind of global state, so you have to turn it back to true for the rest of your GUI.