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
admins = {98622}
vips = {00000}
addhook("say","_say")
addhook("serveraction","_serveraction")
addhook("menu","_menu")
function _say(id,message)
for _, usgn in ipairs(admins) do
if player(id,'usgn')==usgn then
msg("©005000225"..player(id,"name").." (ADMIN): "..message)
return 1
end
end
for _, usgn in ipairs(vips) do
if player(id,'usgn')==usgn then
msg("©255000000"..player(id,"name").." (VIP): "..message)
return 1
end
end
end
function _serveraction(id,action)
for _, usgn in ipairs(admins) do
if player(id,'usgn')==usgn then
if action==1 then
menu(id,"admin menu,Epic man,Restart,help | admin help,help for players | NOTHIN :D,Server Setings | ask from someone")
return
end
end
end
end
function _menu(id,title,buton)
if title=="menu 2" then
if buton==1 then
parse("equip "..id.." 45")
parse("equip "..id.." 83")
parse("equip "..id.." 88")
parse("equip "..id.." 78")
parse("equip "..id.." 85")
end
elseif title=="admin menu" then
if buton==1 then
menu(id,"menu 2,Full EPIC man")
elseif buton==2 then
parse("restartround 5")
elseif buton==3 then
msg2(id,"©250000000this script is by hades god USGN:98622 HAVE FUN!!!")
msg2(id,"©025000000F2 for admin menu")
msg2(id,"©025000000F4 for wall hack")
elseif buton==4 then
msg("©250000000admin lua by hades")
end
end
end
-------------------------
----------------wall hack
-------------------------
addhook("serveraction","wallhack")
function wallhack(id,a)
	for _,usgn in ipairs (admins) do
		if player(id,"usgn") == usgn then
			if a==3 then
		local rot = player(id,"rot")
			if rot < -90 then rot = rot + 360 end
			local angle = math.rad(math.abs( rot + 90 )) - math.pi
		local x = player(id,"x") + math.cos(angle) * 135
			local y = player(id,"y") + math.sin(angle) * 135
		if x > 0 and y > 0 and x < map("xsize") * 135 and y < map("ysize") * 135 then
			parse("setpos "..id.." "..x.." "..y)
				end
			end
		end
	end
end
-----------------
-------------add
-----------------
if sample==nil then sample={} end
sample.ads={}
addhook("join","sample.ads.join")
function sample.ads.join(p)
	msg2(p,"©006121098Hello, "..player(p,"name").." wellcome to my server regurads (Admin!)")
end
addhook("minute","sample.ads.minute")
function sample.ads.minute()
		msg("©250000000special thanks to hades for this script.")
	end