Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop:
- trigger:
- open virtual chest inventory with size 3 named "&d&lShop" to player
- set {_h1} to "MHF_Cow" parsed as offline player
- set {_h2} to "MHF_Melon" parsed as offline player
- set {_h3} to "MHF_Chest" parsed as offline player
- set {_h4} to "MHF_Cactus" parsed as offline player
- set {_h5} to "MHF_Villager" parsed as offline player
- set {_h6} to "MHF_Squid" parsed as offline player
- set {_h7} to "Blopdsand" parsed as offline player
- set {_h8} to "Jott" parsed as offline player
- set {_h9} to "MHF_CoconutB" parsed as offline player
- set {_h10} to "Santa" parsed as offline player
- set {_h11} to "Mercury777" parsed as offline player
- set {_h12} to "Terence" parsed as offline player
- set {_h13} to "MHF_TnT2" parsed as offline player
- set {_h14} to "MHF_Slime" parsed as offline player
- set {_h15} to "Shrek" parsed as offline player
- set {_p} to "%player%" parsed as offline player
- make gui slot 1 of player with black glass with name "&l" to do nothing
- make gui slot 2 of player with black glass with name "&l" to do nothing
- make gui slot 3 of player with black glass with name "&l" to do nothing
- make gui slot 4 of player with black glass with name "&l" to do nothing
- make gui slot 5 of player with black glass with name "&l" to do nothing
- make gui slot 6 of player with black glass with name "&l" to do nothing
- make gui slot 7 of player with black glass with name "&l" to do nothing
- make gui slot 8 of player with black glass with name "&l" to do nothing
- make gui slot 9 of player with black glass with name "&l" to do nothing
- make gui slot 0 of player with black glass with name "&l" to do nothing
- make gui slot 18 of player with black glass with name "&l" to do nothing
- make gui slot 20 of player with black glass with name "&l" to do nothing
- make gui slot 21 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 23 of player with black glass with name "&l" to do nothing
- make gui slot 24 of player with black glass with name "&l" to do nothing
- make gui slot 25 of player with black glass with name "&l" to do nothing
- make gui slot 26 of player with black glass with name "&l" to do nothing
- make gui slot 17 of player with black glass with name "&l" to do nothing
- make gui slot 11 of player with black glass with name "&l" to do nothing
- make gui slot 19 of player with black glass with name "&l" to do nothing
- make gui slot 15 of player with black glass with name "&l" to do nothing
- make gui slot 13 of player with black glass with name "&l" to do nothing
- #Trails
- make gui slot 12 of player with blaze powder with name "&c&lTrails" to run:
- open virtual chest with 3 rows named "&8&lCustom Trails" to player
- make gui slot 1 of player with black glass with name "&l" to do nothing
- make gui slot 2 of player with black glass with name "&l" to do nothing
- make gui slot 3 of player with black glass with name "&l" to do nothing
- make gui slot 4 of player with black glass with name "&l" to do nothing
- make gui slot 5 of player with black glass with name "&l" to do nothing
- make gui slot 6 of player with black glass with name "&l" to do nothing
- make gui slot 7 of player with black glass with name "&l" to do nothing
- make gui slot 8 of player with black glass with name "&l" to do nothing
- make gui slot 9 of player with black glass with name "&l" to do nothing
- make gui slot 0 of player with black glass with name "&l" to do nothing
- make gui slot 17 of player with black glass with name "&l" to do nothing
- make gui slot 18 of player with black glass with name "&l" to do nothing
- make gui slot 19 of player with black glass with name "&l" to do nothing
- make gui slot 20 of player with black glass with name "&l" to do nothing
- make gui slot 21 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 23 of player with black glass with name "&l" to do nothing
- make gui slot 24 of player with black glass with name "&l" to do nothing
- make gui slot 25 of player with black glass with name "&l" to do nothing
- make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
- make player execute command "shop"
- make gui slot 10 of player with golden apple named "&c&lHeart Trail" with lore "&eBuy a Heart Trail for 5 skulls" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &c&lHeart Trail &7from /shop!"
- make console execute command "/pex user %player% add heart.trails"
- stop
- if {Skulls::%player%} < 5:
- send "&7You don’t have enough skulls!"
- make gui slot 11 of player with redstone named "&4&lRedstone Trail" with lore "&eBuy a Redstone Trail for 5 skulls" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &4&lRedstone Trail &7from /shop!"
- make console execute command "/pex user %player% add redstone.trails"
- stop
- if {Skulls::%player%} < 5:
- send "&7You don’t have enough skulls!"
- make gui slot 12 of player with flint and steel named "&c&lFlame Trail" with lore "&eBuy a Flame Trail for 5 skulls" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &c&lFlame Trail &7from /shop!"
- make console execute command "/pex user %player% add flame.trails"
- stop
- if {Skulls::%player%} < 5:
- send "&7You don’t have enough skulls!"
- make gui slot 13 of player with ender pearl named "&d&lPortal Trail" with lore "&eBuy a Portal Trail for 5 skulls" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &d&lPortal Trail &7from /shop!"
- make console execute command "/pex user %player% add portal.trails"
- stop
- if {Skulls::%player%} < 5:
- send "&7You don’t have enough skulls!"
- make gui slot 14 of player with snowball named "&f&lCloud Trail" with lore "&eBuy a Cloud Trail for 5 skulls" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &f&lCloud Trail &7from /shop!"
- make console execute command "/pex user %player% add cloud.trails"
- stop
- if {Skulls::%player%} < 5:
- send "&7You don’t have enough skulls!"
- #Hats
- make gui slot 14 of player with {_p}'s skull named "&c&lHats" to run:
- open virtual chest with 5 rows named "&c&lHats" to player
- format slot 0 of player with black glass named "&l " to close
- format slot 1 of player with black glass named "&l " to close
- format slot 2 of player with black glass named "&l " to close
- format slot 3 of player with black glass named "&l " to close
- format slot 4 of player with black glass named "&l " to close
- format slot 5 of player with black glass named "&l " to close
- format slot 6 of player with black glass named "&l " to close
- format slot 7 of player with black glass named "&l " to close
- format slot 8 of player with black glass named "&l " to close
- format slot 9 of player with black glass named "&l " to close
- format slot 17 of player with black glass named "&l " to close
- format slot 18 of player with black glass named "&l " to close
- format slot 26 of player with black glass named "&l " to close
- format slot 27 of player with black glass named "&l " to close
- format slot 35 of player with black glass named "&l " to close
- format slot 36 of player with black glass named "&l " to close
- format slot 37 of player with black glass named "&l " to close
- format slot 38 of player with black glass named "&l " to close
- format slot 39 of player with black glass named "&l " to close
- format slot 40 of player with black glass named "&l " to close
- format slot 41 of player with black glass named "&l " to close
- format slot 42 of player with black glass named "&l " to close
- format slot 43 of player with black glass named "&l " to close
- make gui slot 44 of player with arrow named "&c&lBack To Shop" to run:
- make player execute command "shop"
- #slot 10-16
- make gui slot 10 of player with {_h1}'s skull named "&7&lCow" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &7&lCow Head &7from /shop!"
- make console execute command "/pex user %player% add cow.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 11 of player with {_h2}'s skull named "&a&lMelon" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &a&lMelon Head &7from /shop!"
- make console execute command "/pex user %player% add Melon.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 12 of player with {_h3}'s skull named "&6&lChest" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &6&lChest Head &7from /shop!"
- make console execute command "/pex user %player% add Chest.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 13 of player with {_h4}'s skull named "&2&lCactus" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &2&lCactus Head &7from /shop!"
- make console execute command "/pex user %player% add Cactus.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 14 of player with {_h5}'s skull named "&7&lVillager" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &7&lVillager Head &7from /shop!"
- make console execute command "/pex user %player% add Villager.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 15 of player with {_h6}'s skull named "&9&lSquid" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &9&lSquid Head &7from /shop!"
- make console execute command "/pex user %player% add Squid.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 16 of player with {_h7}'s skull named "&c&lPokeball" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &c&lPokeball Head &7from /shop!"
- make console execute command "/pex user %player% add Pokeball.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- #Slot 19-25
- make gui slot 19 of player with {_h8}'s skull named "&b&lWhale" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &b&lWhale Head &7from /shop!"
- make console execute command "/pex user %player% add Whale.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 20 of player with {_h9}'s skull named "&6&lCoconut" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &6&lCoconut Head &7from /shop!"
- make console execute command "/pex user %player% add Coconut.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 21 of player with {_h10}'s skull named "&c&lSanta" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &c&lSanta Head &7from /shop!"
- make console execute command "/pex user %player% add Santa.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 22 of player with {_h11}'s skull named "&d&lCube" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &d&lCube Head &7from /shop!"
- make console execute command "/pex user %player% add Cube.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 23 of player with {_h12}'s skull named "&7&lGunter" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &7&lGunter Head &7from /shop!"
- make console execute command "/pex user %player% add Gunter.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 24 of player with {_h13}'s skull named "&c&lTnT" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &c&lTnT Head &7from /shop!"
- make console execute command "/pex user %player% add tnt.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 25 of player with {_h14}'s skull named "&a&lSlime" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &a&lSlime Head &7from /shop!"
- make console execute command "/pex user %player% add Slime.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- make gui slot 28 of player with {_h15}'s skull named "&a&lShrek" with lore "&31 Skull" to run:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased the &a&lShrek Head &7from /shop!"
- make console execute command "/pex user %player% add Shrek.hat"
- stop
- else:
- if {Skulls::%player%} < 1:
- send "&7You don’t have enough skulls!"
- #Ranks
- make gui slot 10 of player with name_tag with name "&c&lRanks" to run:
- open virtual chest inventory with size 3 named "&lRanks" to player
- make gui slot 10 of player with diamond with name "&b&lRank I" with lore "&35 Skull" to close:
- if {Skulls::%player%} >= 5:
- remove 5 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &b&lRankb I &7from /shop!"
- make console execute command "/pex user %player% group add Rank_I"
- stop
- else:
- send "&7You don’t have enough skulls"
- stop
- make gui slot 12 of player with diamond with name "&b&lRank II" with lore "&315 Skull" to close:
- if {Skulls::%player%} >= 15:
- remove 15 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &b&lRank II &7from /shop!"
- make console execute command "/pex user %player% group add Rank_II"
- stop
- else:
- send "&7You don’t have enough skulls"
- stop
- make gui slot 14 of player with diamond with name "&b&lRank III" with lore "&340 Skull" to close:
- if {Skulls::%player%} >= 40:
- remove 40 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &b&lRank III &7from /shop!"
- make console execute command "/pex user %player% add Rank_III"
- stop
- else:
- send "&7You don’t have enough skulls"
- stop
- make gui slot 16 of player with diamond with name "&b&lRank IV" with lore "&3120 Skull" to close:
- if {Skulls::%player%} >= 90:
- remove 90 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &b&lRankIV &7from /shop!"
- make console execute command "/pex user %player% group add Rank_IV"
- stop
- else:
- send "&7You don’t have enough skulls"
- stop
- make gui slot 1 of player with black glass with name "&l" to do nothing
- make gui slot 2 of player with black glass with name "&l" to do nothing
- make gui slot 3 of player with black glass with name "&l" to do nothing
- make gui slot 4 of player with black glass with name "&l" to do nothing
- make gui slot 5 of player with black glass with name "&l" to do nothing
- make gui slot 6 of player with black glass with name "&l" to do nothing
- make gui slot 7 of player with black glass with name "&l" to do nothing
- make gui slot 8 of player with black glass with name "&l" to do nothing
- make gui slot 9 of player with black glass with name "&l" to do nothing
- make gui slot 0 of player with black glass with name "&l" to do nothing
- make gui slot 19 of player with black glass with name "&l" to do nothing
- make gui slot 20 of player with black glass with name "&l" to do nothing
- make gui slot 21 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 23 of player with black glass with name "&l" to do nothing
- make gui slot 24 of player with black glass with name "&l" to do nothing
- make gui slot 25 of player with black glass with name "&l" to do nothing
- make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
- make player execute command "shop"
- make gui slot 17 of player with black glass with name "&l" to do nothing
- make gui slot 13 of player with black glass with name "&l" to do nothing
- make gui slot 11 of player with black glass with name "&l" to do nothing
- make gui slot 15 of player with black glass with name "&l" to do nothing
- make gui slot 17 of player with black glass with name "&l" to do nothing
- make gui slot 18 of player with black glass with name "&l" to do nothing
- #tags
- make gui slot 16 of player with name_tag with name "&c&lTags" to run:
- open virtual chest inventory with size 3 named "&lTags" to player
- make gui slot 11 of player with paper with name "&8[&bCowClicks&8]" with lore "&31 Skull" to close:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &8[&bCowClicks&8] &7from /shop!"
- make console execute command "/pex user %player% add ""cowclicks.tag"""
- stop
- else:
- send "&7You don’t have enough skulls!"
- stop
- make gui slot 13 of player with paper with name "&8[&2Cow&8]" with lore "&31 Skull" to close:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &8[&2Cow&8] &7from /shop!"
- make console execute command "/pex user %player% add ""cow.tag"""
- stop
- else:
- send "&7You don’t have enough skulls!"
- stop
- make gui slot 15 of player with paper with name "&8[&cRevamp&8]" with lore "&31 Skull" to close:
- if {Skulls::%player%} >= 1:
- remove 1 from {Skulls::%player%}
- broadcast "&3%player% &7has purchased &8[&cRevamp&8] &7from /shop!"
- make console execute command "/pex user %player% add ""revamp.tag"""
- stop
- else:
- send "&7You don’t have enough skulls"
- stop
- #===================
- #
- # Aethetics!
- #
- #===================
- make gui slot 1 of player with black glass with name "&l" to do nothing
- make gui slot 2 of player with black glass with name "&l" to do nothing
- make gui slot 3 of player with black glass with name "&l" to do nothing
- make gui slot 4 of player with black glass with name "&l" to do nothing
- make gui slot 5 of player with black glass with name "&l" to do nothing
- make gui slot 6 of player with black glass with name "&l" to do nothing
- make gui slot 7 of player with black glass with name "&l" to do nothing
- make gui slot 8 of player with black glass with name "&l" to do nothing
- make gui slot 9 of player with black glass with name "&l" to do nothing
- make gui slot 0 of player with black glass with name "&l" to do nothing
- make gui slot 18 of player with black glass with name "&l" to do nothing
- make gui slot 20 of player with black glass with name "&l" to do nothing
- make gui slot 21 of player with black glass with name "&l" to do nothing
- make gui slot 22 of player with black glass with name "&l" to do nothing
- make gui slot 12 of player with black glass with name "&l" to do nothing
- make gui slot 23 of player with black glass with name "&l" to do nothing
- make gui slot 24 of player with black glass with name "&l" to do nothing
- make gui slot 25 of player with black glass with name "&l" to do nothing
- make gui slot 26 of player with arrow named "&c&lBack To Shop" to run:
- make player execute command "shop"
- make gui slot 17 of player with black glass with name "&l" to do nothing
- make gui slot 10 of player with black glass with name "&l" to do nothing
- make gui slot 19 of player with black glass with name "&l" to do nothing
- make gui slot 16 of player with black glass with name "&l" to do nothing
- make gui slot 14 of player with black glass with name "&l" to do nothing
- on command "/shop":
- set {_h1} to "MHF_Cow" parsed as offline player
- set {_h2} to "MHF_Melon" parsed as offline player
- set {_h3} to "MHF_Chest" parsed as offline player
- set {_h4} to "MHF_Cactus" parsed as offline player
- set {_h5} to "MHF_Villager" parsed as offline player
- set {_h6} to "MHF_Squid" parsed as offline player
- set {_h7} to "Blopdsand" parsed as offline player
- set {_h8} to "Jott" parsed as offline player
- set {_h9} to "MHF_CoconutB" parsed as offline player
- set {_h10} to "Santa" parsed as offline player
- set {_h11} to "Mercury777" parsed as offline player
- set {_h12} to "Terence" parsed as offline player
- set {_h13} to "MHF_TnT2" parsed as offline player
- set {_h14} to "MHF_Slime" parsed as offline player
- set {_h15} to "Shrek" parsed as offline player
- set {_p} to "%player%" parsed as offline player
Advertisement
Add Comment
Please, Sign In to add comment