SHARE
TWEET

adada

a guest Jul 19th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /rankup:
  2.  
  3.     description: Når du bliver flyver!
  4.  
  5.     usage: /rankup
  6.  
  7.     trigger:
  8.  
  9.         if player has permission "a":
  10.  
  11.             if player's balance is larger than 59999:
  12.  
  13.                 execute console command "/manuadd %player% b"
  14.  
  15.                 execute console command "/clear %player%"
  16.  
  17.                 execute console command "/eco set %player% 500"
  18.  
  19.                 execute console command "/spawn %player% b"
  20.  
  21.                 broadcast "&7Rankup | &2%player% rankede op til &2B"
  22.  
  23.                 message "&7Rankup | &2Du rankede op til B"
  24.  
  25.                 remove 60000 from player's balance
  26.  
  27.             else:
  28.  
  29.                 message "&7Rankup | &aDu har ikke penge nok! &2Koster 60.000 at komme op til &8B"
  30.  
  31.         else:
  32.  
  33.             message "&7Rankup | &2Du har det højeste rank"
  34.  
  35.         if player has permission "bads":
  36.  
  37.             if player's balance is larger than 100000:
  38.  
  39.                 execute console command "/manuadd %player% fri"
  40.  
  41.                 execute console command "/clear %player%"
  42.  
  43.                 execute console command "/eco set %player% 1000"
  44.  
  45.                 execute console command "/spawn %player% fri"
  46.  
  47.                 broadcast "&7Rankup | &2%player% rankede op til &2Friheden"
  48.  
  49.                 message "&7Rankup | &2Du rankede op til Friheden"
  50.  
  51.                 remove 100000 from player's balance
  52.  
  53.             else:
  54.  
  55.                 message "&7Rankup | &aDu har ikke penge nok! &2Koster 100.000 at komme op til &8Friheden"
  56.  
  57.         else:
  58.  
  59.             message "&7Rankup | &2Du har det højeste rank"
  60.  
  61.  
  62. command /derank [<text>]:
  63.     trigger:
  64.         if arg-1 is not set:
  65.             if player has permission "b":
  66.                 set {derank.%player%} to true
  67.                 message "&aSkriv /derank confirm for at bekræfte din derank til C! &aDu har 10 sekunder"
  68.  
  69.  
  70.                 wait 10 seconds
  71.                 delete {derank.%player%}
  72.             else:
  73.                 message "&aDu kan ikke deranke!"
  74.  
  75.  
  76.         if arg-1 is "confirm":
  77.             if player has permission "b":
  78.                 if {derank.%player%} is true:
  79.                     execute console command "/manuadd %player% default"
  80.                     execute console command "/clear %player%"
  81.                     execute console command "/kill %player%"
  82.                     set player's balance to 500
  83.                     message "&aDu er nu deranket til C"
  84.                 else:
  85.                     message "&aSKRIV først /derank"
  86.             else:
  87.                 message "&aDu kan ikke deranke!"
  88.  
  89.  
  90.         if arg-1 is not set:
  91.             if player has permission "baadadwddw":
  92.                 set {derank.%player%} to true
  93.                 message "&aSkriv /derank confirm for at bekræfte din derank til B! &aDu har 10 sekunder"
  94.  
  95.  
  96.                 wait 10 seconds
  97.                 delete {derank.%player%}
  98.             else:
  99.                 message "&aDu kan ikke deranke!"
  100.    
  101.  
  102.  
  103.         if arg-1 is "confirm":
  104.             if player has permission "baadadwddw":
  105.                 if {derank.%player%} is true:
  106.                     execute console command "/manuadd %player% b"
  107.                     execute console command "/clear %player%"
  108.                     execute console command "/kill %player%"
  109.                     set player's balance to 500
  110.                     message "&aDu er nu deranket til B"
  111.                 else:
  112.                     message "&aSKRIV først /derank"
  113.             else:
  114.                 message "&aDu kan ikke deranke!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top