Bikbokken

Untitled

May 26th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. options:
  2. p: &8[&bSv-Hosting&8]
  3.  
  4. on right-click on a entity:
  5. if name of entity is "&6&lBobMarley":
  6. wait 2 ticks
  7. open chest with 3 rows named "&6&lBobMarley" to player
  8. format slot 11 of player with 296 named "&2WHEAT" with lore "&7Sælg din wheat her!" to run [ make player execute command "/wheatwheatwheatselllll"]
  9. format slot 13 of player with bread named "&2BRØD" with lore "&7Sælg dit brød her!" to run [ make player execute command "/breadbreadbreadselllll"]
  10. format slot 15 of player with water bucket named "&2VAND" with lore "&7Køb dit vand her! || &7800 DDK" to run [ make player execute command "/vandvandbuy"]
  11. format slot 3 of player with seeds named "&2SEEDS" with lore "&7Køb dine seeds her! || &7500 DDK" to run [ make player execute command "/seedsbuy"]
  12. format slot 5 of player with iron hoe named "&2LE" with lore "&7Køb en le her! || &7600 DDK" to run [ make player execute command "/lebuy"]
  13. format slot 21 of player with 166 named "&4&lINTET" to close
  14. format slot 23 of player with 166 named "&4&lINTET" to close
  15.  
  16.  
  17. command /wheatwheatwheatselllll:
  18. trigger:
  19. if player have 1 wheat in inventory:
  20. add 100 to player's balance
  21. remove 1 wheat from player's inventory
  22. send "{@p} &7Du har solgt et stykke wheat for &b100$&7!"
  23. else:
  24. send "{@p} &7Du har ikke noget wheat i din inventory!!"
  25.  
  26.  
  27. command /breadbreadbreadselllll:
  28. trigger:
  29. if player have 1 bread in inventory:
  30. add 300 to player's balance
  31. remove 1 bread from player's inventory
  32. send "{@p} &7Du har solgt et stykke bread for &b300$&7!"
  33. else:
  34. send "{@p} &7Du har ikke noget brød i din inventory!!"
  35.  
  36. command /vandvandbuy:
  37. trigger:
  38. if player's balance >= 800:
  39. send "{@p} &rDu har købt en Vandspand for &c800 &fDDK" to player
  40. remove 800 from player's money
  41. give 1 326 to player
  42. else:
  43. send "{@p} &rDu har ikke &c800 &fDDK." to player
  44.  
  45. command /lebuy:
  46. trigger:
  47. if player's balance >= 600:
  48. send "{@p} &rDu har købt en le for &c600 &fDDK" to player
  49. remove 600 from player's money
  50. give 1 292 to player
  51. else:
  52. send "{@p} &rDu har ikke &c600 &fDDK." to player
  53.  
  54.  
  55. command /seedsbuy:
  56. trigger:
  57. if player's balance >= 500:
  58. send "{@p} &rDu har købt en seed for &c500 &fDDK" to player
  59. remove 500 from player's money
  60. give 1 seeds to player
  61. else:
  62. send "{@p} &rDu har ikke &c500 &fDDK." to player
Advertisement
Add Comment
Please, Sign In to add comment