command /depozyt []: trigger: if arg 1 is 6: open virtual chest with 1 rows named "&4&lWydaj $$$" to player format gui slot 8 times of player with gray glass pane named "" format gui slot 0 of player with gray glass pane named "" format gui slot 2 of player with feather named "&aKup latanie" to close then run player command "/depozyt 854515" format gui slot 6 of player with bedrock named "&aKup gamemode" to close then run player command "/depozyt 5411121" if arg 1 is 854515: if player's balance is less than 10000: send "&c&lNie posiadasz 10k $$" stop else: remove 10000 from player's balance wait 1 tick make player fly send "&7&lMożesz latać" stop if arg 1 is 5411121: if player's balance is less than 10000: send "&c&lNie posiadasz 10k $$" stop else: remove 10000 from player's balance wait 1 tick set player's gamemode to creative send "&7&lMożesz budować ile zechcesz." stop