View difference between Paste ID: YpzvkYrG and pYhed8Mx
SHOW: | | - or go back to the newest paste.
1
command /settppoint [<number>]:
2
	permission: skript.admin
3
	trigger:
4
		if arg-1 is 1:
5
			set {random.teleport.point.1} to location of player
6
			send "&8&l» &f(1)&a設定しました。" to player
7
			stop
8
		else if arg-1 is 2:
9
			set {random.teleport.point.2} to location of player
10
			send "&8&l» &f(2)&a設定しました。" to player
11
			stop
12
		else if arg-1 is 3:
13
			set {random.teleport.point.3} to location of player
14
			send "&8&l» &f(3)&a設定しました。" to player
15
			stop
16
		else if arg-1 is 4:
17
			set {random.teleport.point.4} to location of player
18
			send "&8&l» &f(4)&a設定しました。" to player
19
			stop
20
 
21
command /futaba_nyan <player>:
22
	permission: skript.admin
23
	trigger:
24
		apply resistance 5 to the arg for 5 seconds
25
		send "&9&l[&6System&9&l]&75秒間耐性が付きます" to arg
26
		execute console command "menu grab arg a"
27
		stop
28
 
29
command /randomteleport <player>:
30
	permission: skript.admin
31
	trigger:
32
		set {_tppoint} to random integer between 1 and 4
33
		if {_tppoint} is 1:
34
			teleport the arg to {random.teleport.point.1}
35
			send "&9[&atp&9] &e1&aにTPしました。" to arg
36
			stop
37
		if {_tppoint} is 2:
38
			teleport the arg to {random.teleport.point.2}
39
			send "&9[&atp&9] &e2&aにTPしました。" to arg
40
			stop
41
		if {_tppoint} is 3:
42
			teleport the arg to {random.teleport.point.3}
43
			send "&9[&atp&9] &e3&aにTPしました。" to arg
44
			stop
45
		if {_tppoint} is 4:
46
			teleport the arg to {random.teleport.point.4}
47
			send "&9[&atp&9] &e4&aにTPしました。" to arg
48
			stop
49
50
command /pvp <text>:
51
	trigger:
52
		arg is {password}
53-
		player doesn't have bow
53+
54
		command "/futaba_nyan %player%"
55
56
on damage of player:
57
	attacker is a player
58
	projectile is arrow
59
	set damage to 40
60
61
command /password <text>:
62
	permission: skript.admin
63
	trigger:
64
		set {password} to arg
65
		message "パスワードを変更しました" to player