Also I take no copyright of this sript all credits go to the owner
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
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
------------------- -- Mod by HaRe -- -- Time For TDM -- ------------------- function Array(m) 	local array = {} 	for i = 1, m do 		array[i]=0 	end 	return array end timer=0 time=600 -- Change it to your time (OPS this is for Second) so if you want 1 min then type 60 playerdeath = Array(32) playerscore = Array(32) addhook("startround","time_start") function time_start() timer=0 	for id = 1,32 do 		if (player(id,"exists")) then 			parse("setdeaths "..id.." "..playerdeath[id]) 			parse("setscore "..id.." "..playerscore[id]) 		end 	end end addhook("second","time_go") function time_go() timer=timer+1 	if timer==time then 		parse("restart 3") 		msg("©255255255Round has ended, Get ready for another round!@C") 	end end addhook("ms100","time_savescore") function time_savescore() 	for id = 1,32 do 		if (player(id,"exists")) then 			playerscore[id]=player(id,"score") 			playerdeath[id]=player(id,"deaths") 		end 	end end addhook("ms100","time_hud") function time_hud() 	parse('hudtxt 1 "©000500000Time: ('..timer..'/'..time..') "100 70') 	if timer==time then 		parse('hudtxt 1 "©500000000Time: Round Ended "100 70') 	elseif timer>time then 		parse('hudtxt 1 "©500000000Time: Round Ended "100 70') 	end end