Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /money [<text>] [<text>]:
- trigger:
- if arg-1 is not set:
- message "&6&lあなたの所持金&b&l%{money.%player%}%"
- if arg-1 is set:
- if arg-1 is "set":
- set {money.%player%} to arg-2
- command /shopd:
- trigger:
- open chest with 3 rows named "&0&lショップメニュー" to player
- format slot 0 of player with gray dye named "&cAK-47" with lore "&b2000 &6&l円" to be unstealable
- format slot 1 of player with gray dye named "&cMP5" with lore "&b2000 &6&l円" to be unstealable
- format slot 2 of player with gray dye named "&cSCAR-L" with lore "&b3000 &6&l円" to be unstealable
- format slot 3 of player with gray dye named "&cFAMAS" with lore "&b5000 &6&l円" to be unstealable
- format slot 4 of player with gray dye named "&cSCAR-H" with lore "&b20000 &6&l円" to be unstealable
- wait 2 ticks
- if {money.%player%} is greater than 2000:
- format slot 0 of player with green dye named "&2AK-47" with lore "&a購入可能" to be unstealable
- if {money.%player%} is greater than 2000:
- format slot 1 of player with green dye named "&2MP5" with lore "&a購入可能" to be unstealable
- if {money.%player%} is greater than 3000:
- format slot 2 of player with green dye named "&2SCAR-L" with lore "&a購入可能" to be unstealable
- if {money.%player%} is greater than 5000:
- format slot 3 of player with green dye named "&2FAMAS" with lore "&a購入可能" to be unstealable
- if {money.%player%} is greater than 20000:
- format slot 4 of player with green dye named "&2SCAR-H" with lore "&a購入可能" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement