View difference between Paste ID: DA8u08UZ and Zuf6CECU
SHOW: | | - or go back to the newest paste.
1-
command /clear:
1+
command /prefix <text>:
2
	permission: skript.admin
3-
		set the player's prefix is ""
3+
4
		set the player's prefix to arg 1
5
6
command /ss <integer> <player>:
7
	permission: skript.anima
8
	trigger:
9
		if arg 1 is 1:
10
			message "&7[Log] &c&lスロウ&dを発動しました" to arg 2
11-
				if loop-player's name is arg 2:
11+
12-
					apply slowness tier 2 to loop-player for 1 second
12+
				if loop-player's name is not arg 2:
13
					apply slowness tier 2 to loop-player for 2 seconds
14
					show cloud on loop-player in radius of 2
15
					message "&7[Log] &e&l%arg 2%&dの発動した&c&lスロウ&dの効果を受けてしまいました" to loop-player
16-
					play sound "entity.generic.burn" to loop-player
16+
17
					execute console command "/execute %loop-player% ~ ~ ~ playsound entity.generic.burn master @p"
18
					#play sound "entity.generic.burn" to loop-player
19
		if arg 1 is 2:
20
			message "&7[Log] &c&lグロー&dを発動しました" to arg 2
21
			set {ss.glow.%arg 2%} to true
22-
	attacker is player
22+
		if arg 1 is 4:
23-
	victim is player
23+
			message "&7[Log] &c&lジャンプ&dを発動しました" to arg 2
24-
	if {ss.glow.%attacker%} is true:
24+
			apply levitation tier 50 to arg 2 for 10 ticks
25-
		message "&7[Log] &e&l%attacker%&dの発動した&c&lグロー&dの効果を受けてしまいました" to victim
25+
			wait 10 ticks
26-
		message "&7[Log] &e&l%victim%&dが&c&lグロー&dの効果を受けました" to attacker
26+
			apply levitation tier 30 to arg 2 for 6 ticks
27-
		show cloud on victim in radius of 2
27+
			wait 6 ticks
28-
		apply glowing to victim for 5 second
28+
			apply levitation tier 20 to arg 2 for 5 ticks
29-
		set {ss.glow.%attacker%} to false
29+
			wait 5 ticks
30-
		message "&7[Log] &c&lグロー&dの効果が切れました" to attacker
30+
			apply levitation tier 10 to arg 2 for 4 ticks
31
			wait 4 ticks
32
			apply levitation tier 5 to arg 2 for 3 ticks
33
			wait 3 ticks
34
			apply levitation tier 3 to arg 2 for 3 ticks
35
			wait 3 ticks
36
			apply levitation tier 2 to arg 2 for 2 ticks
37
			wait 2 ticks
38
			apply levitation tier 1 to arg 2 for 2 ticks
39
			wait 2 ticks
40
			message "&7[Log] &c&lフライ&dの効果が切れました" to arg 2
41
			set {ss.fly.%arg 2%} to true
42
43
on damage:
44
	if attacker is player:
45
		if victim is player:
46
			if {ss.glow.%attacker%} is true:
47
				message "&7[Log] &e&l%attacker%&dの発動した&c&lグロー&dの効果を受けてしまいました" to victim
48
				message "&7[Log] &e&l%victim%&dが&c&lグロー&dの効果を受けました" to attacker
49
				show cloud on victim in radius of 2
50
				apply glowing to victim for 5 second
51
				set {ss.glow.%attacker%} to false
52
				message "&7[Log] &c&lグロー&dの効果が切れました" to attacker
53
	if damage was caused by fall:
54
		if {ss.fly.%victim%} is true:
55
			set {ss.fly.%victim%} to false
56
			cancel event
57
58
every minecraft tick:
59
	loop all players:
60
		if block under loop-player is not air:
61
			set {ss.fly.%loop-player%} to false