Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- dia: &dSælg diamonds for &32 &dDKK Stk
- ddia: &dSælg diamonds for &35DKK Stk
- streng: &dDu kan købe Streng Potion for &3300 &dDKK Stk
- dstreng: &dDu kan købe Streng Potion for &3200 &dDKK Stk
- speed: &dDu kan købe Streng Potion for &3350 &dDKK Stk
- dspeed: &dDu kan købe Streng Potion for &3200 &dDKK Stk
- gap: &dDu kan købe Golden apple for &3750 &dDKK Stk
- dgap: &dDu kan købe Golden apple for &3450 &dDKK Stk
- command /shop:
- trigger:
- if player has permission "donator":
- wait 2 ticks
- open chest with 3 rows named "&7Daddy&8PvP &4D&7-&cShop" to player
- format slot 0 of player with shiny 160:3 named "&7" to close
- format slot 1 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 2 of player with shiny 160:3 named "&7" to close
- format slot 3 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 4 of player with shiny 160:3 named "&7" to close
- format slot 5 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 6 of player with shiny 160:3 named "&7" to close
- format slot 7 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 8 of player with shiny 160:3 named "&7" to close
- format slot 9 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 19 of player with shiny 160:3 named "&7" to close
- format slot 18 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 20 of player with shiny 160:11 named "&7" to close
- format slot 19 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 21 of player with shiny 160:11 named "&7" to close
- format slot 23 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 24 of player with shiny 160:11 named "&7" to close
- format slot 25 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 26 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 11 of player with shiny 322 named "&eKøb Golden Apples her" with lore "{@dgap}" to close then run [make player execyte command "dgap"]
- format slot 13 of player with shiny 373:16450 named "&eKøb Speed Splash potion her" with lore "{@dspeed}" to close then run [make player execute command "dspeed"]
- format slot 15 of player with shiny 373:16457 named "&eKøb Strength Splash potion her" with lore "{@dstreng}" to close then run [make player execute command "dstreng"]
- format slot 22 of player with shiny diamond named "&6Sælg dine Diamonds her" with lore "{@ddia}" to close then run [make player execute command "ddia"]
- else:
- if player has permission "player":
- wait 2 ticks
- open chest with 3 rows named "&7Daddy&8PvP &4N&7-&cShop" to player
- format slot 0 of player with shiny 160:3 named "&7" to close
- format slot 1 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 2 of player with shiny 160:3 named "&7" to close
- format slot 3 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 4 of player with shiny 160:3 named "&7" to close
- format slot 5 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 6 of player with shiny 160:3 named "&7" to close
- format slot 7 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 8 of player with shiny 160:3 named "&7" to close
- format slot 9 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 10 of player with shiny 160:3 named "&7" to close
- format slot 18 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 19 of player with shiny 160:11 named "&7" to close
- format slot 21 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 23 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 24 of player with shiny 160:11 named "&7" to close
- format slot 25 of player with shiny 160:3 named "&7" to close
- wait 2 ticks
- format slot 26 of player with shiny 160:11 named "&7" to close
- wait 2 ticks
- format slot 11 of player with shiny 322 named "&eKøb Golden Apples her" with lore "{@gap}" to run [make player execyte command "gap"]
- format slot 13 of player with shiny 373:16450 named "&eKøb Speed Splash potion her" with lore "{@speed}" to close then run [make player execute command "speed"]
- format slot 15 of player with shiny 373:16457 named "&eKøb Strength Splash potion her" with lore "{@streng}" to close then run [make player execute command "streng"]
- format slot 22 of player with shiny diamond named "&6Sælg dine Diamonds her" with lore "{@dia}" to close then run [make player execute command "dia"]
- command /gap:
- trigger:
- give 1 322 to player
- make player execute command "eco take %player% 750"
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /dgap:
- trigger:
- give 1 322 to player
- make player execute command "eco take %player% 450
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /dspeed:
- trigger:
- give 1 373:16450 to player
- make player execute command "eco take %player% 200"
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /speed:
- trigger:
- give 1 373:16450 to player
- make player execute command "eco take %player% 350"
- send &7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /dstreng:
- trigger:
- give 1 373:16457 to player
- make player execute command "eco take %player% 200"
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /streng:
- trigger:
- give 1 373:16457 to player
- make player execute command "eco take %player% 300"
- send &7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /ddia:
- trigger:
- if arg-1 is set:
- take 1 diamond from player
- make player execute command "eco give %arg-1% 5"
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- command /dia:
- trigger:
- if {_diamond} is greater or equals 1:
- remove 1 diamond from player
- add 2 to player's balance
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- cancel event
- command /ddia:
- trigger:
- if {_diamond} is greater or equals 1:
- remove 1 diamond from player
- add 5 to player's balance
- send "&7Handlen er gennemført!"
- else:
- send "&cDU HAR IK PENGE NOK!"
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement