SHARE
TWEET

adadaw

a guest Jul 19th, 2019 61 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.  
  32.         if player has permission "bads":
  33.  
  34.             if player's balance is larger than 100000:
  35.  
  36.                 execute console command "/manuadd %player% fri"
  37.  
  38.                 execute console command "/clear %player%"
  39.  
  40.                 execute console command "/eco set %player% 1000"
  41.  
  42.                 execute console command "/spawn %player% fri"
  43.  
  44.                 broadcast "&7Rankup | &2%player% rankede op til &2Friheden"
  45.  
  46.                 message "&7Rankup | &2Du rankede op til Friheden"
  47.  
  48.                 remove 100000 from player's balance
  49.  
  50.             else:
  51.  
  52.                 message "&7Rankup | &aDu har ikke penge nok! &2Koster 100.000 at komme op til &8Friheden"
  53.  
  54.         else:
  55.  
  56.             message "&7Rankup | &2Du har det højeste rank"
  57.  
  58.  
  59. command /derank [<text>]:
  60.     trigger:
  61.         if arg-1 is not set:
  62.             if player has permission "b":
  63.                 set {derank.%player%} to true
  64.                 message "&aSkriv /derank confirm for at bekræfte din derank til C! &aDu har 10 sekunder"
  65.  
  66.  
  67.                 wait 10 seconds
  68.                 delete {derank.%player%}
  69.             else:
  70.                 message "&aDu kan ikke deranke!"
  71.  
  72.  
  73.         if arg-1 is "confirm":
  74.             if player has permission "b":
  75.                 if {derank.%player%} is true:
  76.                     execute console command "/manuadd %player% default"
  77.                     execute console command "/clear %player%"
  78.                     execute console command "/kill %player%"
  79.                     set player's balance to 500
  80.                     message "&aDu er nu deranket til C"
  81.                 else:
  82.                     message "&aSKRIV først /derank"
  83.             else:
  84.                 message "&aDu kan ikke deranke!"
  85.  
  86.  
  87.         if arg-1 is not set:
  88.             if player has permission "baadadwddw":
  89.                 set {derank.%player%} to true
  90.                 message "&aSkriv /derank confirm for at bekræfte din derank til B! &aDu har 10 sekunder"
  91.  
  92.  
  93.                 wait 10 seconds
  94.                 delete {derank.%player%}
  95.             else:
  96.                 message "&aDu kan ikke deranke!"
  97.    
  98.  
  99.  
  100.         if arg-1 is "confirm":
  101.             if player has permission "baadadwddw":
  102.                 if {derank.%player%} is true:
  103.                     execute console command "/manuadd %player% b"
  104.                     execute console command "/clear %player%"
  105.                     execute console command "/kill %player%"
  106.                     set player's balance to 500
  107.                     message "&aDu er nu deranket til B"
  108.                 else:
  109.                     message "&aSKRIV først /derank"
  110.             else:
  111.                 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