Just set the value to the result of the comparison:
button4.Visible = PlayersLevel > 1;
button5.Visible = PlayersLevel > 2;
Just set the value to the result of the comparison:
button4.Visible = PlayersLevel > 1;
button5.Visible = PlayersLevel > 2;