1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
------------------------------
--By Fathurstern			--
------------------------------
addhook("say","save_say")
function save_say(id,txt)
if (txt=="!hats") or (txt=="!Hats") or (txt=="!HATS") then
menu(id,"Hats,black|beret,blue|beret,green|beret,maroon|beret,scarlet|beret,tan|beret,cap|yellow,No Hat,Next >>|[More]")
return
	end
end
addhook("menu","save_menu")
function save_menu(id,title,buton,spawn)
	if title == "Hats" then
		if buton == 1 then
		freeimage(id)
		id1=image("gfx/fathur/green_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		
		elseif buton == 2 then
		freeimage(id)
		id1=image("gfx/fathur/blue_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 3 then
		freeimage(id)
		id1=image("gfx/fathur/green_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 4 then
		freeimage(id)
		id1=image("gfx/fathur/maroon_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 5 then
		freeimage(id)
		id1=image("gfx/fathur/scarlet_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 6 then
		freeimage(id)
		id1=image("gfx/fathur/tan_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 7 then
		freeimage(id)
		id1=image("gfx/fathur/gold_cap.png",1,1,200+id)
		imagealpha(id1,1.0)
		elseif buton == 8 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 9 then
		menu(id,"Hats2,none,none,none,none,none,none,none,<< Back| [previous],Next >>|[More]")
end
end
	if title == "Hats2" then
		if buton == 1 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 2 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 3 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 4 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 5 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 6 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 7 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 8 then
		freeimage(id)
		imagealpha(id1,1.0)
		end
	end
end
addhook("spawn","bott")
function bott(id)
if player(id,"bot")==true then
freeimage(id)
d1=image("gfx/fathur/black_beret.png",1,1,200+id)
imagealpha(id1,1.0)
	end
end