How can I fix this script:
Spoiler
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
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
minute = 60 second = 10 addhook("minute","time_hud") addhook("second","time_hud") function time_hud(id) 	if minute > 60 then 		parse('hudtxt 3 "\169255255255R|\169051255051||||||||||||\169255255255|" 4 110 0') 	end 	if minute <= 60 then 		parse('hudtxt 3 "\169255255255R|\169000255000||||||||||||\169255255255|" 4 110 0') 	end	 	if minute <= 55 then 		parse('hudtxt 3 "\169255255255R|\169128255000||||||||||| \169255255255|" 4 110 0') 	end	 	if minute <= 50 then 		parse('hudtxt 3 "\169255255255R|\169153255051|||||||||| \169255255255|" 4 110 0') 	end 	if minute <= 45 then 		parse('hudtxt 3 "\169255255255R|\169187255102||||||||| \169255255255|" 4 110 0')	 	end 	if minute <= 40 then 		parse('hudtxt 3 "\169255255255R|\169255153051|||||||| \169255255255|" 4 110 0')	 	end	 	if minute <= 35 then 		parse('hudtxt 3 "\169255255255R|\169255128000||||||| \169255255255|" 4 110 0')	 	end 	if minute <= 30 then 		parse('hudtxt 3 "\169255255255R|\169204102000|||||| \169255255255|" 4 110 0') 	end 	if minute <= 25 then 		parse('hudtxt 3 "\169255255255R|\169255153153||||| \169255255255|" 4 110 0') 	end 	if minute <= 20 then 		parse('hudtxt 3 "\169255255255R|\169255102102|||| \169255255255|" 4 110 0') 	end 	if minute <= 15 then 		parse('hudtxt 3 "\169255255255R|\169255051051||| \169255255255|" 4 110 0') 	end 	if minute <= 10 then 		parse('hudtxt 3 "\169255255255R|\169255000000|| \169255255255|" 4 110 0') 	end 	if minute <= 5 then 		parse('hudtxt 3 "\169255255255R|\169204000000| \169255255255|" 4 110 0') 	end 	if minute <= 0 then 		parse('hudtxt 3 "\169255255255R|\169153000000 \169255255255|" 4 110 0') 	end 	if minute <= 0 then 		parse('restart 10') 	end --[[if minute < 10 then 		if second < 10 then 		parse('hudtxt 3 "\169255128062Restart in | \169255255255'..hour..":0"..minute..":0"..second..'" 3 150 0') 		else 		parse('hudtxt 3 "\169255128062Restart in | \169255255255'..hour..":0"..minute..":"..second..'" 3 150 0') 		end 	elseif minute > 9 then 		if second < 10 then 		parse('hudtxt 3 "\169255128062Restart in | \169255255255'..hour..":"..minute..":0"..second..'" 3 150 0') 		else 		parse('hudtxt 3 "\169255255255R|\169100255018||||||||||||\169255255255|" 3 150 0') 		parse('hudtxt 3 "\169255128062Restart in | \169255255255'..hour..":"..minute..":"..second..'" 3 150 0') 		end 	end]]-- end
Well, the error is it:
When 5 minutes are gone, the "|" symbol must change into above one, leading to 0, and when it was on 0, the round restarts. On my error, it does not happens.