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
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
addhook("flashlight","genji_shift") function genji_shift(id) genrot[id] = player(id,"rot") genshift[id]=1 timer(2000,"aaa") function aaa() genshift[id] = 0 end end addhook("always","genji_move") function genji_move(id) for _,id in ipairs(player(0,"table")) do for _,i in pairs(player(0,"tableliving")) do if genshift[id]==1 then local rot = math.rad(genrot[id]) local c = player(id, "x") + math.sin(rot) * 10 local d = player(id, "y") - math.cos(rot) * 10 parse("setpos "..id.." "..c.." "..d) 		 if player(id,"tilex") == player(i,"tilex") and player(id,"tiley") == player(i,"tiley") and id ~= i then 	genshift[id]=0	 	end 	end 	end 	end 	end