View difference between Paste ID: myy1DJc2 and kZcSgWeE
SHOW: | | - or go back to the newest paste.
1
options:
2
	ASCII-Symbol-Heart: ♥
3
4
#Variables
5
# %victim% = Username of the victim
6
# %attacker% = Username of the attacker
7
# %attacker's health% = Attackers health
8
# {@ASCII-Symbol-Heart} = ASCII Code of heart
9
10-
on death of player:
10+
on death:
11
	#Projectiles
12
	if attacker is a player:
13
		if projectile is set:
14
			set the death message to "&a%victim% &7was shot by &c%attacker%&7! &8[&c%attacker's health%{@ASCII-Symbol-Heart}&8]"
15
	
16
	#Mob
17
	if attacker is not a player:
18
		if attacker is set:
19
			set the death message to "&a%victim% &7was destroyed by a &c%attacker%&7! &8[&c%attacker's health%{@ASCII-Symbol-Heart}&8]"
20
	
21
	#Magic
22
	if damage was caused by potion:
23
		set the death message to "&a%victim% &7got eliminated by magic."
24
		
25
#skript by Gunac
26
#server ip: server.proyecto40.net