Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /buy:
- aliases: buycraft
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &eMenu" to player
- Format slot 50 of player with glowing paper named "&aLavet af WhySoShy" to close
- Format slot 49 of player with skull of player named "&3Du har" with lore "&3%{shards::%uuid of player%}% &bShards" to be unstealable
- Format slot 48 of player with glowing paper named "&aLavet af WhySoShy" to close
- format slot 11 of player with Wooden sword named "&6Kits" with lore "&7Åben og se:||||&7Adgang til - &f&oKit Gambler||&7Adgang til - &f&oKit Miner" to close then run [make player execute command "buykits"]
- format slot 15 of player with 299 named "&6Ranks" with lore "&7Åben og se:||||&7Rank - &f&oRolex||&7Rank - &f&oPPF||&7Rank - &f&oSupreme||&7Rank - &f&oGucci" to close then run [Make player execute command "buyranks"]
- format slot 42 of player with string named "&6Permissions" with lore "&7Åben og se:||||&7Permission - &f&o/Eat||&7Permission - &f&o/Craft" to close then run [Make player execute command "buyperms"]
- format slot 38 of player with 383:95 named "&6Pets" with lore "&7Åben og se:||||&7Pet - &f&oBaby Ulv||&7Pet - &f&oBaby Gris" to close then run [make player execute command "buypets"]
- format slot 22 of player with glowing 324 named "&6VIP celler" with lore "&7Åben og se:||||&7Celle - &f&oVIP Celle" to close then run [make player execute command "buyvip"]
- format slot 31 of player with glowing 409 named "&3Shards" with lore "&7Åben og se:||||&3Shard køb" to close then run [make player execute command "buyshard"]
- command /buyranks:
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &eRanks" to player
- format slot 11 of player with 42 named "&eGucci" to close
- format slot 15 of player with 41 named "&cSupreme" to close
- format slot 42 of player with Glowing Obsidian named "&cRolex" to close
- format slot 38 of player with 57 named "&aP&2P&aF" to close
- format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
- command /buyperms:
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &ePermissions" to player
- format slot 11 of player with Glowing 381 named "&7Night Vision" to close
- format slot 15 of player with 58 named "&6Craft" to close
- format slot 42 of player with steak named "&eEat" to close
- format slot 38 of player with Glowing 421 named "&7Nick&8Name" to close
- format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
- command /buypets:
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &ePets" to player
- format slot 11 of player glowing 383:95 named "&7Baby Ulv" to close
- format slot 15 of player glowing 383:90 named "&7Baby Gris" to close
- format slot 42 of player with 383:98 named "&7Ocelot" to close
- format slot 38 of player with 383:92 named "&7Baby Ko"
- format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
- command /buyvip:
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &eVIP Celler" to player
- format slot 11 of player with glowing 324 named "&6VIP Celle" to close
- format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
- command /buykits:
- trigger:
- wait 3 ticks
- open chest with 6 rows named "&eBuy&6Craft &c&l-> &eKits" to player
- format slot 11 of player with 268 named "&7" to close
- format slot 15 of player with 272 named "&7" to close
- format slot 42 of player with 276 named "&7" to close
- format slot 38 of player with glowing 283 named "&7" to close
- format slot 53 of player with glowing 166 named "&cTilbage" to close then run [make player execute command "/buy"]
- Command /buyshard:
- trigger:
- if {antalshards::%uuid of player%} is not set:
- set {antalshards::%uuid of player%} to 0
- open chest inventory with 6 rows named "&eBuy&6Craft &c&l-> &eShards!" to player
- wait 3 ticks
- set slot 10 of player's current inventory to 409 named "&f+250"
- set slot 11 of player's current inventory to 409 named "&f+1000"
- set slot 12 of player's current inventory to 409 named "&f+5000"
- set slot 14 of player's current inventory to 409 named "&f-250"
- set slot 15 of player's current inventory to 409 named "&f-1000"
- set slot 16 of player's current inventory to 409 named "&f-5000"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- set slot 40 of player's current inventory to nether star named "&7Købs betingelser"
- On inventory click:
- if name of player's current inventory == "&eTEST!":
- cancel event
- if clicked slot = 10:
- if name of clicked slot = "&f+250":
- add 250 to {antalshards::%uuid of player%}
- send "&aDu addede &b250 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- if clicked slot = 11:
- if name of clicked slot = "&f+1000":
- add 1000 to {antalshards::%uuid of player%}
- send "&aDu addede &b1000 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- if clicked slot = 12:
- if name of clicked slot = "&f+5000":
- add 5000 to {antalshards::%uuid of player%}
- send "&aDu addede &b5000 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- if clicked slot = 14:
- if name of clicked slot = "&f-250":
- if {antalshards::%uuid of player%} is more than or equal to 250:
- remove 250 from {antalshards::%uuid of player%}
- send "&aDu fjernede &b250 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- if clicked slot = 15:
- if name of clicked slot = "&f-1000":
- if {antalshards::%uuid of player%} is more than or equal to 1000:
- remove 1000 from {antalshards::%uuid of player%}
- send "&aDu fjernede &b1000 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
- if clicked slot = 16:
- if name of clicked slot = "&f-5000":
- if {antalshards::%uuid of player%} is more than or equal to 5000:
- remove 5000 from {antalshards::%uuid of player%}
- send "&aDu fjernede &b5000 &3Shards"
- set slot 22 of player's current inventory to shiny 409 named "&bShards valgt:" with lore "%{antalshards::%uuid of player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement