Advertisement
Creatism

Untitled

Dec 9th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. on right click on sign:
  2. if line 2 is "&8[&bRankup&8]":
  3. if line 3 is "&8$3.5K":
  4. make player execute command "/A"
  5. if line 2 is "&8[&bRankup&8]":
  6. if line 3 is "&8$17K":
  7. make player execute command "/B"
  8.  
  9. command /A:
  10. trigger:
  11. if player's money is greater than or equal to 3500:
  12. make console execute command "/manuaddv %player% suffix &7 &8[&aB&8]"
  13. broadcast "&b%player% &7ranked up to &bB"
  14. remove 3500 from player's money
  15. execute console command "sudo %player% warp B"
  16. make console execute command "playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1000000"
  17. execute console command "manuaddp %player% rankup.B"
  18. else:
  19. message "&8[&bRankup&8] &cYou don't have enough money to rankup"
  20. make console execute command "playsound entity.villager.no master %player% ~ ~ ~ 1000000"
  21.  
  22. command /B:
  23. trigger:
  24. if player has permission "rankup.B":
  25. if player's money is greater than or equal to 17000:
  26. make console execute command "/manuaddv %player% suffix &7 &8[&eC&8]"
  27. broadcast "&b%player% &7ranked up to &bC"
  28. remove 17000 from player's money
  29. execute console command "sudo %player% warp C"
  30. make console execute command "playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1000000"
  31. execute console command "manuaddp %player% rankup.C"
  32. else:
  33. message "&8[&bRankup&8] &cYou don't have enough money to rankup"
  34. make console execute command "playsound entity.villager.no master %player% ~ ~ ~ 1000000"
  35. else:
  36. message "&cYou don't have permission to do this"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement