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
function Array(size,value)
	local array = {}
	for i = 1, size do
		array[i]=value
	end
	return array
end
x = Array(32,0)
y = Array(32,0)
nemesis_spawn=30
addhook("startround_prespawn","rv_startround_prespawn")
function rv_startround_prespawn(mode)
nemesis_spawn=30
for id=1, 32 do
	if player(id,"exists") then
	parse("makect "..id)
	end
end
end
addhook("kill","rv_kill")
function rv_kill(kil,vic,wpn)
if player(kil,"team")==1 then
x[vic]=player(vic,"x")
y[vic]=player(vic,"y")
parse("maket "..vic)
parse("spawnplayer "..vic.." "..x[vic].." "..y[vic])
parse("equip "..vic.." 78")
end
end
addhook("second","rv_second")
function rv_second()
if nemesis_spawn>=2 then
nemesis_spawn=nemesis_spawn-1
msg("©255010100Nemesis appear in "..nemesis_spawn.." Second(s)!@C")
elseif nemesis_spawn==1 then
msg("©255010100Nemesis Appeared!@C")
nemesis_spawn=0
Nemesis(id)
end
end
function Nemesis(id)
local id=math.random(1,32)
if player(id,"exists") and player(id,"health")>0 and player(id,"team")==2 then
x[id]=player(id,"x")
y[id]=player(id,"y")
parse("maket "..id)
parse("spawnplayer "..id.." "..x[id].." "..y[id])
parse("sethealth "..id.." 250")
parse("setarmor "..id.." 205")
parse("equip "..id.." 73")
parse("equip "..id.." 78")
else
Nemesis(id)
end
end
addhook("projectile","rv_projectile")
function rv_projectile(id,wpn)
if wpn==73 then
parse("equip "..id.." 73")
end
end