Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /strail <player> <text>:
- permission : strail.command
- trigger:
- clear {strail::*::%player%}
- wait a tick
- set {strail::%arg-2%::%player%} to true
- set {strail::%player%::particle} to arg-2
- message "&bパーティクルを%arg-2%に変更しました"
- command /strailmenu:
- permission : strail.command
- trigger:
- open chest with 6 rows named "&bパーティクルメニュー" to player
- wait a tick
- format slot 1 of player with diamond named "&bCrit" with lore "&bパーティクルをCritに変更" to run [make player execute "/strail %player% Crit"]
- format slot 2 of player with diamond named "&bEnder" with lore "&bパーティクルをEnderに変更" to run [make player execute "/strail %player% Ender"]
- format slot 2 of player with diamond named "&bmagic" with lore "&bパーティクルをmagicに変更" to run [make player execute "/strail %player% Magic"]
- stop
- every 1 tick:
- loop all players:
- add loop-player to {strail::player}
- if {strail::*::*} is set:
- set {strail::particle} to a random element out of {strail::player}
- if {strail::%{strail::particle}%::*} is true:
- execute console command "/execute %{strail::particle}% ~ ~ ~ /particle %{strail::%{strail::particle%::particle}% ~ ~ ~ 0.1 0.1 0.1 1 10"
- stop
Add Comment
Please, Sign In to add comment