View difference between Paste ID: kkjVQMx3 and Z8qXiEaC
SHOW: | | - or go back to the newest paste.
1-
# 
1+
2-
#  Plugin to color your armor based on the wool you click
2+
	nondonor = Gracze moga nacisnac na welne aby zmienic kolor zbroi na bialy!
3-
# 
3+
4-
#  Created by MostFunGuy of McMidgard.net and OTG.com
4+
5
	set {_woolcooldown.white} to difference between {_woolcooldown.white.lastused} and now
6
	player has permission "skript.white":
7-
	nondonor = Lifetime members can click wool to change the color of their armor. You know you wanna!
7+
	message "Kliknales na bialy" to player
8
	if {_woolcooldown.white} is less then 5 seconds:  
9
		equip player with leather helmet
10-
#  WHITE
10+
11
		equip player with leather leggings
12
		equip player with leather boots
13
		message "<yellow>Twoja zbroja zmienila kolor na <white>BIALY"
14-
	message "you clicked white" to player
14+
15
		dye player's chestplate white
16
		dye player's leggings white
17
		dye player's boots white
18
		cancel event
19
	else:
20-
		message "<yellow>Your armor has been colored <white>WHITE"
20+
21
		player is wearing all leather armour
22
		message "<yellow>Jestes pewien ze chcesz pokolorowac zbroje na  <white>BIALY? <yellow>podtwierdz klikajac ponownie :D" to player
23
	else:
24
		message "<yellow>Jestes pewien ze chcesz ubrac <white>BIALA <yellow>skurzana zbroje? <yellow>podtwierdz klikajac ponownie :D" to player
25
	else:
26
		message "{nondonor}" to player