Guest User

rebirth

a guest
Feb 26th, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. on first join:
  2. set {cookies.%player%} to 0
  3.  
  4. command /rebirth:
  5. permission: rebirth.rebirth
  6. trigger:
  7. add 1 to {cookies.%player%}
  8. send player title "&c&lCongratulations you rebirthed" with subtitle "&c&lto &7: &3&l%{cookies.%player%}%" for 2.0 seconds
  9. play "CLICK" to player at volume 10
  10. broadcast "&2%player% just rebirthed!"
  11. execute console command "pex user %player% group remove free"
  12. execute console command "pex user %player% group add a"
  13.  
  14. command /rebirths:
  15. trigger:
  16. send " "
  17. send "&c&lRebirths &8» &2&l%{cookies.%player%}%"
  18. send " "
  19.  
  20. on rightclick on gold block:
  21. add 1 to {cookies.%player%}
  22. send player title "&c&lCongratulations you rebirthed" with subtitle "&c&lto &3&l%{cookies.%player%}%" for 2.0 seconds
  23. play "CLICK" to player at volume 10
  24.  
  25. on break gold block:
  26. cancel event
  27.  
  28. command /reset:
  29. trigger:
  30. set {cookies.%player%} to 0
  31. send " "
  32. send "&6Reset rebirths to &2&l%{cookies.%player%}%"
  33. send " "
  34.  
  35. on chat:
  36. set message format to "&8[&a%{cookies.%player%}%&8] &7&l▶%player's suffix% %player's prefix%%player's display name%&8 » &7%message%"
  37.  
  38. command /rebirthtop:
  39. trigger:
  40. send "&7Comming Soon"
Advertisement
Add Comment
Please, Sign In to add comment