sora200507

Untitled

Mar 31st, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. command /strail <player> <text>:
  2. permission : strail.command
  3. trigger:
  4. clear {strail::*::%player%}
  5. wait a tick
  6. set {strail::%arg-2%::%player%} to true
  7. set {strail::%player%::particle} to arg-2
  8. message "&bパーティクルを%arg-2%に変更しました"
  9. command /strailmenu:
  10. permission : strail.command
  11. trigger:
  12. open chest with 6 rows named "&bパーティクルメニュー" to player
  13. wait a tick
  14. format slot 1 of player with diamond named "&bCrit" with lore "&bパーティクルをCritに変更" to run [make player execute "/strail %player% Crit"]
  15. format slot 2 of player with diamond named "&bEnder" with lore "&bパーティクルをEnderに変更" to run [make player execute "/strail %player% Ender"]
  16. format slot 2 of player with diamond named "&bmagic" with lore "&bパーティクルをmagicに変更" to run [make player execute "/strail %player% Magic"]
  17. stop
  18. every 1 tick:
  19. loop all players:
  20. add loop-player to {strail::player}
  21. if {strail::*::*} is set:
  22. set {strail::particle} to a random element out of {strail::player}
  23. if {strail::%{strail::particle}%::*} is true:
  24. execute console command "/execute %{strail::particle}% ~ ~ ~ /particle %{strail::%{strail::particle%::particle}% ~ ~ ~ 0.1 0.1 0.1 1 10"
  25. stop
Add Comment
Please, Sign In to add comment