on rightclick on sign: if line 1 is "&3&lKopalnia": if line 2 is "&4&lCena:": if line 3 is "&6&l5000$": if player's balance is greater than or equal to 5000: remove 5000 from player's balance send "&2» &6Wykupiles licence na kopalnie!" set {mozliwosckopania.%player%} to 2 execute player command "/kop" else: send "&2» &cNie masz wystarczajaco duzo pieniedzy!"every 1 minute: loop all players: if {mozliwosckopania.%loop-player%} is smaller than 1: clear {mozliwosckopania.%loop-player%} teleport loop-player to {spawn} send "Skonczyla sie licencja!" to loop-player stop remove 1 from {mozliwosckopania.%loop-player%}on entering region "kopalnia": if {mozliwosckopania.%player%} is not set: teleport player to {spawn}command /ustawspawn:trigger:set {spawn} to location of playercommand /reset:trigger:loop all players:clear {mozliwosckopania.%loop-player%}send "&2Zresetowałes cos "cały czas wyswietla wiadomosc skonczyła sie licencja chociaz jej nie mialem