options: pkt: 100 #Ilosc potrzebnych punktow do awansowania na kolejny lvl procent: 100 #Ilosc procent na wykopanie 1 punkta expa (lvl) blok: stone #Po wykopaniu jakiego bloku ma dodawac punkty ? variables: {lvl.%player%} = 0 {plvl.%player%} = 0 {pplvl.%player%} = true on mine of {@blok}: if {pplvl.%player%} is true: chance of {@procent}%: add 1 to {lvl.%player%} if {lvl.%player%} is {@pkt}: send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" send "&8## &eGratulacje! &7Twoj Chat Zostal &eOdblokowany" send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" execute console command "playsound random.levelup %player%" set {pplvl.%player%} to false stop on chat: if {pplvl.%player%} is true: if player doesn't have permission "antyreklama.rek": cancel event send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" send "&8## &7Musisz Wykopac &e100 &7Kamienia aby Pisac na &eChat" send "&8## &7sprawdz ile juz wykopales pod komenda &e/stone" send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" stop command /lvl: trigger: if {pplvl.%player%} is true: send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" send "&8## &7Wykopales &e%{lvl.%player%}%/100 &7Stone." send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------[" stop