Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- player's tool is emerald named "&aShop &7(Right Click)"
- open chest with 5 row named "&aShop" to player
- set slot 0 of player's current inventory to nether star named "&aStatus" with lore "&1" and "&fYour Coins: &6%{coins.%player%}%" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 11 of player's current inventory to bow named "&aKit & Parks"
- set slot 15 of player's current inventory to slimeball named "&aCostume"
- set slot 31 of player's current inventory to barrier named "&cClosed"
- on right click:
- player's tool is player's skull named "&aProfile &7(Right Click)"
- open chest with 5 row named "&aProfile" to player
- set slot 31 of player's current inventory to barrier named "&cClosed"
- on inventory click:
- if name of player's current inventory contain "&aShop":
- cancel event
- if name of player's current inventory contain "&aProfile":
- cancel event
- if name of player's current inventory contain "&aCostume":
- cancel event
- if name of player's current inventory contain "&aKit & Parks":
- cancel event
- if name of player's current inventory contain "&aKill Effect":
- cancel event
- if name of player's current inventory contain "&aDeath Sound":
- cancel event
- if name of player's current inventory contain "&aVictory Dance":
- cancel event
- if name of clicked item is "&cClosed":
- close player's inventory
- if name of clicked item is "&aCostume":
- open chest with 5 row named "&aCostume" to player
- set slot 0 of player's current inventory to nether star named "&aStatus" with lore "&1" and "&fYour Coins: &6%{coins.%player%}%" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 11 of player's current inventory to slimeball named "&aKill Effect"
- set slot 13 of player's current inventory to jukebox named "&aDeath Sound"
- set slot 15 of player's current inventory to dragon egg named "&aVictory Dance"
- set slot 31 of player's current inventory to barrier named "&cClosed"
- if name of clicked item is "&aKit & Parks":
- open chest with 5 row named "&aKit & Parks" to player
- set slot 0 of player's current inventory to nether star named "&aStatus" with lore "&1" and "&fYour Coins: &6%{coins.%player%}%" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 31 of player's current inventory to barrier named "&cClosed"
- if name of clicked item is "&aKill Effect":
- open chest with 5 row named "&aKill Effect" to player
- set slot 31 of player's current inventory to barrier named "&cClosed"
- set slot 0 of player's current inventory to nether star named "&aStatus" with lore "&1" and "&fYour Coins: &6%{coins.%player%}%" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 10 of player's current inventory to barrier named "&aNone"
- set slot 11 of player's current inventory to glass named "&cLIGHTNING BOLT" with lore "&1" and "&7Price: &e800" and "&2" and "&cLOCKED" and "&3" and "&8Click to buy!"
- if {kf.lightningbolt.%player%} is true:
- set slot 11 of player's current inventory to glass named "&aLIGHTNING BOLT's" with lore "&1" and "&aUNLOCKED" and "&2" and "&8Click to selected!"
- if name of clicked item is "&cLIGHTNING BOLT":
- if {cash.%player%} >= 800:
- set {kf.lightningbolt.%player%} to true
- set slot 11 of player's current inventory to glass named "&aLIGHTNING BOLT's" with lore "&1" and "&aUNLOCKED" and "&2" and "&8Click to selected!"
- remove 800 from {cash.%player%}
- send "&aYou purchased &6LIGHTNING BOLT"
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- stop
- else:
- send "&cYou don't have enough cash!"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- if name of clicked item is "&aLIGHTNING BOLT's":
- set {kf.lightningbolts.%player%} to player
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- send "&6LIGHTNING BOLT &ais set!"
- if name of clicked item is "&aNone":
- delete {kf.lightningbolt.%player%}
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- send "&6None &ais set!"
- on death of player:
- if {kf.lightningbolts.%player%} is set:
- strike lightning at the victim
Add Comment
Please, Sign In to add comment