Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /prefix <text>:
- permission: skript.admin
- trigger:
- set the player's prefix to arg 1
- command /ss <integer> <player>:
- permission: skript.anima
- trigger:
- if arg 1 is 1:
- message "&7[Log] &c&lスロウ&dを発動しました" to arg 2
- loop all players in radius 5 of the arg 2:
- if loop-player's name is not arg 2:
- apply slowness tier 2 to loop-player for 2 seconds
- show cloud on loop-player in radius of 2
- message "&7[Log] &e&l%arg 2%&dの発動した&c&lスロウ&dの効果を受けてしまいました" to loop-player
- message "&7[Log] &e&l%loop-player%&dが&c&lスロウ&dの効果を受けました" to arg 2
- execute console command "/execute %loop-player% ~ ~ ~ playsound entity.generic.burn master @p"
- #play sound "entity.generic.burn" to loop-player
- if arg 1 is 2:
- message "&7[Log] &c&lグロー&dを発動しました" to arg 2
- set {ss.glow.%arg 2%} to true
- if arg 1 is 4:
- message "&7[Log] &c&lジャンプ&dを発動しました" to arg 2
- apply levitation tier 50 to arg 2 for 10 ticks
- wait 10 ticks
- apply levitation tier 30 to arg 2 for 6 ticks
- wait 6 ticks
- apply levitation tier 20 to arg 2 for 5 ticks
- wait 5 ticks
- apply levitation tier 10 to arg 2 for 4 ticks
- wait 4 ticks
- apply levitation tier 5 to arg 2 for 3 ticks
- wait 3 ticks
- apply levitation tier 3 to arg 2 for 3 ticks
- wait 3 ticks
- apply levitation tier 2 to arg 2 for 2 ticks
- wait 2 ticks
- apply levitation tier 1 to arg 2 for 2 ticks
- wait 2 ticks
- message "&7[Log] &c&lフライ&dの効果が切れました" to arg 2
- set {ss.fly.%arg 2%} to true
- on damage:
- if attacker is player:
- if victim is player:
- if {ss.glow.%attacker%} is true:
- message "&7[Log] &e&l%attacker%&dの発動した&c&lグロー&dの効果を受けてしまいました" to victim
- message "&7[Log] &e&l%victim%&dが&c&lグロー&dの効果を受けました" to attacker
- show cloud on victim in radius of 2
- apply glowing to victim for 5 second
- set {ss.glow.%attacker%} to false
- message "&7[Log] &c&lグロー&dの効果が切れました" to attacker
- if damage was caused by fall:
- if {ss.fly.%victim%} is true:
- set {ss.fly.%victim%} to false
- cancel event
- every minecraft tick:
- loop all players:
- if block under loop-player is not air:
- set {ss.fly.%loop-player%} to false
Add Comment
Please, Sign In to add comment