Advertisement
Guest User

Give Ranks Skript

a guest
Mar 28th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. command /ems [<offline player>]:
  2. permission: console
  3. trigger:
  4. if arg-1 is set:
  5. send " &2Emeralder"
  6. send " "
  7. send "&e%arg-1% Har taget imod emeralderer for:"
  8. send " &3%{emeralder.%arg-1%}%"
  9. send " "
  10. send " &2Emeralder"
  11.  
  12.  
  13.  
  14. command /grank [<offline player>] [<text>]:
  15. permission: rank
  16. trigger:
  17. if arg-1 isn't set:
  18. send "&8Brug venligst &7/grank (spiller) (rank)"
  19. send "&8Ranks: &cPath &5Yros &dApex &aXepa"
  20. if arg-1 is set:
  21. if arg-2 is "Path":
  22. add 750 to {emeralder.%player%}
  23. execute console command "manuaddsub %arg-1% Path"
  24. broadcast " "
  25. broadcast "&d&lAPEX &7| &e%arg-1% har nu købt &oPath &erank"
  26. broadcast " "
  27. execute console command "manuaddv %arg-1% suffix &8 [&cPath&8]"
  28. execute console command "nte player %arg-1% suffix &7 &d&lAZOUR"
  29. execute console command "nte player %arg-1% prefix &8[&cC&8] &7 &7"
  30. else if arg-2 is "Yros":
  31. add 1500 to {emeralder.%player%}
  32. execute console command "manuaddsub %arg-1% Yros"
  33. broadcast " "
  34. broadcast "&d&lAPEX &7| &e%arg-1% har nu købt &oYros &erank"
  35. broadcast " "
  36. execute console command "manuaddv %arg-1% suffix &7 &8[&5Yros&8]"
  37. execute console command "nte player %arg-1% suffix &7 &8 [&5Yros&8]"
  38. execute console command "nte player %arg-1% prefix &8[&cC&8] &7"
  39. if arg-2 is "Apex":
  40. add 2500 to {emeralder.%player%}
  41. execute console command "manuaddsub %arg-1% Octane"
  42. broadcast " "
  43. broadcast "&d&lAPEX &7| &e%arg-1% har nu købt &oApex &erank"
  44. broadcast " "
  45. execute console command "manuaddv %arg-1% suffix &8 [&dApex&8]"
  46. execute console command "nte player %arg-1% suffix &8 [&dApex&8]"
  47. execute console command "nte player %arg-1% prefix &8[&cC&8] &7"
  48. execute console command "crate gk %arg-1% Emerald 1"
  49. if arg-2 is "Xepa":
  50. add 5000 to {emeralder.%player%}
  51. execute console command "manuaddsub %arg-1% Xepa"
  52. broadcast " "
  53. broadcast "&d&lAPEX &7| &e%arg-1% har nu købt &oXepa &erank"
  54. broadcast " "
  55. execute console command "manuaddv %arg-1% suffix &8 [&aXepa&8]"
  56. execute console command "nte player %arg-1% suffix &8 [&aXepa&8]"
  57. execute console command "nte player %arg-1% prefix &8[&cC&8] &7"
  58. execute console command "crate gk %arg-1% Emerald 1"
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. command /gkit [<offline player>] [<text>]:
  73. permission: rank
  74. trigger:
  75. if arg-1 isn't set:
  76. send "&8Brug venligst &7/grank (spiller) (rank)"
  77. send "&8Ranks: &aForce &2Animal &6Burst"
  78. if arg-1 is set:
  79. if arg-2 is "force":
  80. add 350 to {emeralder.%player%}
  81. execute console command "manuaddp %arg-1% essentials.kits.force"
  82. broadcast " "
  83. broadcast "&6BUYCRAFT &7| &e%arg-1% har nu købt &oForce &ekit"
  84. broadcast " "
  85. else if arg-2 is "Animal":
  86. add 500 to {emeralder.%player%}
  87. execute console command "manuaddp %arg-1% essentials.kits.animal"
  88. broadcast " "
  89. broadcast "&6BUYCRAFT &7| &e%arg-1% har nu købt &oAnimal &ekit"
  90. broadcast " "
  91. if arg-2 is "Burst":
  92. add 750 to {emeralder.%player%}
  93. execute console command "manuaddp %arg-1% essentials.kits.burst"
  94. broadcast " "
  95. broadcast "&6BUYCRAFT &7| &e%arg-1% har nu købt &oBurst &ekit"
  96. broadcast " "
  97.  
  98.  
  99. every 1 second:
  100. loop all players:
  101. if {emeralder.%loop-player%} isn't set:
  102. set {emeralder.%loop-player%} to 0
  103.  
  104.  
  105. #every 1 second:
  106. # loop all players:
  107. # if {emeralder.%loop-player%} is set:
  108. # set {emeralder.%loop-player%} to {skylder.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement