View difference between Paste ID: Q24Qnq6H and TCGm295M
SHOW: | | - or go back to the newest paste.
1
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
2
                Name: BetterMobs           
3
                Version: 1.0                
4
                Skript: 2.0.2      
5
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
6
 
7
╔════════════════════════════════════════
8
║  Licencja BetterMobs by FejminTV            ║
9
║  Zezwalam na:                               ║
10
║ - edytowanie komunikatow                    ║
11
║ Nie zezwalam na:                            ║
12
║ - Uznwanie sie autorem                      ║
13
║ - Wykorzystywania kody do wlasnych skryptow ║
14
║ - Robienie z niego jakich kolwiek reklam    ║
15
║ - Zarabianie na skrypcie                    ║
16
║ - Usuwanie informacji o autorze             ║
17
╚════════════════════════════════════════
18
options:
19
	szansa.vampir: 10
20
	vampir.speed: 5
21
	vampir.sila: true
22
23
	szansa.zombie: 10
24
	zombie.speed: 4
25
26
	silverfish.speed: 3
27
28
on spawn of skeleton:
29
	chance of {@szansa.vampir}%:
30
		set {vampir.%entity%.haunt} to true
31
		apply invisibility to entity for 9999999999999999999 days
32
		apply speed {@vampir.speed} to entity for 99999999999999999999 days
33
		set chestplate of the last spawned entity to leather chestplate
34
		set helmet of the last spawned entity to wither skeleton head
35
		dye the last spawned entity's chestplate black
36
		dye the last spawned entity's helmet black
37
on damage:
38
	attacker is a skeleton:
39-
		if {vampir.%attacker%.haunt} to true:
39+
40
			apply blindness to victim for 3 seconds
41
			apply slowness 1 to victim for 5 seconds
42
			apply nausea to victim for 5 seconds
43
			damage victim by 1 heart
44
			wait 2 seconds
45
			set {vampir.%attacker%.uzywane} to now
46
			set {vampir.%attacker%.leczenie} to true
47
			loop 50 times:
48
				teleport attacker 60 blocks behind victim
49
				wait 0.1 seconds
50
			teleport attacker 1 blocks above victim
51
			wait 0.5 seconds
52
			set {vampir.%attacker%.leczenie} to false
53
	victim is a spider:
54
		if {vampir.%attacker%.haunt} is true:
55
			if {@vampir.sila} is true:
56
				heal the victim by 1 heart
57
				if {vampir.%attacker%.leczenie} is true:
58
					cancel event
59
					stop
60
on death of  skeleton:
61
	spawn 5 creeper at location of skeleton
62
63
on spawn of zombie:
64
	chance of {@szansa.zombie}%:
65
		set chestplate of the last spawned entity to leather chestplate
66
		apply speed {@zombie.speed} to entity for 99999999999999999999 days
67
		set helmet of the last spawned entity to creeper head
68
		dye the last spawned entity's chestplate orange
69
		dye the last spawned entity's helmet orange
70
on death of zombie:
71
	spawn 5 silverfish at location of zombie
72
	apply speed {@silverfish.speed} to entity for 99999999999999999999 days
73
on damage:
74
	attacker is a silverfish
75
	if {worm.%attacker%.underground} is true:
76
		damage victim by 0.5 hearts
77
		if {_waited} is less than 4 seconds:
78
			stop
79
		set {wormattack.%attacker%.lastused} to now
80
		chance of 50%:
81
			push the victim upwards
82
		wait 0.5 seconds
83
		damage victim by 0.5 hearts
84
		wait 0.5 seconds
85
		damage victim by 0.5 hearts
86
		stop