View difference between Paste ID: 9BuF5Vp8 and a7hUWFdS
SHOW: | | - or go back to the newest paste.
1-
# # # # # # # # # # # # # # # #
1+
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
2-
# Name: DeathHead             #
2+
 		Name: DeathHead             
3-
# Version: 1.0                #
3+
 		Version: 1.0                
4-
# Skript: 2.0.2               #
4+
 		Skript: 2.0.2      
5-
# # # # # # # # # # # # # # # #
5+
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
6
 
7
╔════════════════════════════════════════
8
║  Licencja DeathHead by FejminTV             ║
9-
#=============================================#
9+
║  Zezwalam na:                               ║
10-
#  Licencja DeathHead by FejminTV             #
10+
║ - edytowanie komunikatow                    ║
11-
# + Nie zezwalamy na:                         #
11+
║ Nie zezwalam na:                            ║
12-
# - Usuwanie tresci o autorach!               #
12+
║ - Uznwanie sie autorem                      ║
13-
# - Udostepnaniu skryptu innym!               #
13+
║ - Wykorzystywania kody do wlasnych skryptow ║
14-
# - Podszywanie sie pod autorów!              #
14+
║ - Robienie z niego jakich kolwiek reklam    ║
15-
# - Uzywanie kodu skryptu w swoich skryptach! #
15+
║ - Zarabianie na skrypcie                    ║
16-
# - Zarabianie na skrypcie!                   #
16+
║ - Usuwanie informacji o autorze             ║
17-
# + Zezwalamy na:                             #
17+
╚════════════════════════════════════════
18-
# - Dodawanie kodu na swoja potrzebe!         #
18+
             
19-
# - Modyfikowanie wiadomosci!                 #
19+
20-
#=============================================#
20+
21
options:
22
	szansa: 100
23
	szansavip: 100
24
	tag: &8[&cHead&8]
25
	permission: &4Nie masz uprawnien by uzywac tej komendy!
26
on death:
27
	{head.status} is 1:
28
		if player has permission "head":
29
			attacker is player
30
			if chance of {@szansa}%:
31
				give the victim's skull to attacker
32
				send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
33
		else:
34
			send "{@tag} {@permission}"
35
			stop
36
		if player has permission "head.vip":
37
			attacker is player
38
			if chance of {@szansavip}%:
39
				give the victim's skull to attacker
40
				send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
41
		else:
42
			send "{@tag} {@permission}"
43
			stop
44
	{head.status} is 0:
45
		send "&{@tag} &7Drop glow z graczy jest &4OFF"
46
47
command /heads [<text>]:
48
	trigger:
49
		if player has permission "head":
50
			if arg 1 is "on":
51
				set {head.status} to 1
52
				send "{@tag} &7Glowy wlaczone"
53
				stop
54
			if arg 1 is "off":
55
				set {head.status} to 0
56
				send "{@tag} &7Glowy wylaczone"
57
				stop
58
			else:
59
				send "{@tag} &c/heads <&fon/off&c>"
60
				stop
61
		else:
62
			send "{@tag} {@permission}"
63
			stop
64
65
command /head [<player>]:
66
	trigger:
67
		{head.status} is 1:
68
			if player has permission "head.give":
69
				give skull of arg to player
70
				send "{@tag} &7Dostales glowe &c%arg player%"
71
				stop
72
			else:
73
				send "{@tag} {@permission}"
74
				stop
75
		else:
76
			send "{@tag} &7Glowy sa &cOFF"
77
			stop