Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Sell]"
- make player execute command "/sell"
- set line 3 to "&8» &b&lSell items &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase]"
- make player execute command "/upgrade1"
- set line 3 to "&8» &b&lUpgrade x1 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase2]"
- make player execute command "/upgrade2"
- set line 3 to "&8» &b&lUpgrade x2 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase3]"
- make player execute command "/upgrade3"
- set line 3 to "&8» &b&lUpgrade x3 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase4]"
- make player execute command "/upgrade4"
- set line 3 to "&8» &b&lUpgrade x4 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase5]"
- make player execute command "/upgrade5"
- set line 3 to "&8» &b&lUpgrade x5 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase6]"
- make player execute command "/upgrade6"
- set line 3 to "&8» &b&lUpgrade x6 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase7]"
- make player execute command "/upgrade7"
- set line 3 to "&8» &b&lUpgrade x7 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase8]"
- make player execute command "/upgrade8"
- set line 3 to "&8» &b&lUpgrade x8 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase9]"
- make player execute command "/upgrade9"
- set line 3 to "&8» &b&lUpgrade x9 &8«"
- on rightclick on sign:
- line 2 of the clicked block is "&3&l[Purchase10]"
- make player execute command "/upgrade10"
- set line 3 to "&8» &b&lUpgrade x10 &8«"
- command /upgrade1:
- trigger:
- if player's balance is more than or equal to 200:
- remove 200 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade1"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$200"
- command /upgrade2:
- trigger:
- if player's balance is more than or equal to 400:
- remove 400 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade2"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$400"
- command /upgrade3:
- trigger:
- if player's balance is more than or equal to 800:
- remove 800 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade3"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$800"
- command /upgrade4:
- trigger:
- if player's balance is more than or equal to 1600:
- remove 1600 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade4"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$1600"
- command /upgrade5:
- trigger:
- if player's balance is more than or equal to 2400:
- remove 2400 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade5"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$2400"
- command /upgrade6:
- trigger:
- if player's balance is more than or equal to 3200:
- remove 3200 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade6"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$3200"
- command /upgrade7:
- trigger:
- if player's balance is more than or equal to 4000:
- remove 4000 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade7"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$4000"
- command /upgrade8:
- trigger:
- if player's balance is more than or equal to 4600:
- remove 4600 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade8"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$4600"
- command /upgrade9:
- trigger:
- if player's balance is more than or equal to 5200:
- remove 5200 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade9"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$5200"
- command /upgrade10:
- trigger:
- if player's balance is more than or equal to 5800:
- remove 5800 from player's balance
- send "&3» &aSuccess! you have purchased the upgrade"
- make console execute command "menu grab %player% upgrade10"
- stop
- else:
- send "&3» &cError! &cyou do not have enough money, you need &a$5800"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement