Advertisement
mrphil123

buy skript

Mar 30th, 2020
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. command /buy:
  2. trigger:
  3. open chest with 3 rows named "&4TERMINATED &bprison &1buycraft&kbuy" to player
  4. format slot 11 of player with diamond block named "&4Ranks" to close then run [execute player command "/buyranks"]
  5. format slot 13 of player with diamond block named "&eandet" to close then run [execute player command "/buypets"]
  6. format slot 15 of player with diamond block named "&9kits" to close then run [execute player command "/buykits"]
  7. command /buyranks:
  8. trigger:
  9. wait 5 tick
  10. open chest with 3 rows named "&eRanks" to player
  11. format slot 10 of player with cookie named "&5rank1" with lore "&a200 EMS" to close then run [execute player command "/buyranks1"]
  12. format slot 12 of player with cookie named "&rank2" with lore "&a400 EMS" to close then run [execute player command "/buyranks2"]
  13. format slot 14 of player with cookie named "&6rank3" with lore "&a800 EMS" to close then run [execute player command "/buyranks3"]
  14.  
  15. command /buyranks1:
  16. trigger:
  17. broadcast "&4&lINFO: &b%player% &7vil gerne købe &cRANK1 &7for &a200 EMS"
  18.  
  19. command /buyranks2:
  20. trigger:
  21. broadcast "&4&lINFO: &b%player% &7vil gerne købe &9RANK2 &7for &a400 EMS"
  22.  
  23.  
  24. command /buyranks3:
  25. trigger:
  26. broadcast "&4&lINFO: &b%player% &7vil gerne købe &6RANK3 Rank &7for &a800 EMS"
  27.  
  28. command /buypets:
  29. trigger:
  30. wait 5 tick
  31. open chest with 3 rows named "&eandet" to player
  32. format slot 11 of player with cookie named "&5ting1" with lore "&a2400 EMS" to close then run [execute player command "/buypets1"]
  33. format slot 13 of player with cookie named "&5ting2" with lore "&a2800 EMS" to close then run [execute player command "/buypets2"]
  34. format slot 15 of player with cookie named "&4ting3" with lore "&a 840 EMS" to close then run [execute player command "/buypets3"]
  35.  
  36. command /buypets1:
  37. trigger:
  38. broadcast "&4&lINFO: &b%player% &7vil gerne købe en ting1 &7for &a2400 EMS"
  39.  
  40. command /buypets2:
  41. trigger:
  42. broadcast "&4&lINFO: &b%player% &7vil gerne købe en ting2 &7for &a2800 EMS"
  43.  
  44.  
  45. command /buypets3:
  46. trigger:
  47. broadcast "&4&lINFO: &b%player% &7vil gerne købe en ting3 &7for &a840 EMS"
  48.  
  49. command /buykits:
  50. trigger:
  51. wait 5 tick
  52. open chest with 3 rows named "&eKits" to player
  53. format slot 11 of player with cookie named "&6kit3" with lore "&a400 EMS" to close then run [execute player command "/buykits1"]
  54. format slot 13 of player with cookie named "&ekit2" with lore "&a120 EMS" to close then run [execute player command "/buykits2"]
  55. format slot 15 of player with cookie named "&kit1" with lore "&a240 EMS" to close then run [execute player command "/buykits3"]
  56.  
  57. command /buykits1:
  58. trigger:
  59. broadcast "&4&lINFO: &b%player% &7vil gerne købe kit3 &7for &a320 EMS"
  60.  
  61. command /buykits2:
  62. trigger:
  63. broadcast "&4&lINFO: &b%player% &7vil gerne købe kit2 &7for &a120 EMS"
  64.  
  65. command /buykits3:
  66. trigger:
  67. broadcast "&4&lINFO: &b%player% &7vil gerne købe kit1 &7for &a240 EMS"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement