map7='

' maps={map7} function eventPlayerDied(name) tfm.exec.respawnPlayer(name) tfm.exec.movePlayer(name,players[name].x,players[name].y) end function eventNewPlayer(name) players[name]={x=x, y=y, win=1} end for name,player in pairs(tfm.get.room.playerList) do eventNewPlayer(name) tfm.exec.bindKeyboard(name, 69, true, true) end function returnMouseCount() count=0 for player in pairs(tfm.get.room.playerList) do if(tfm.get.room.playerList[player].isDead==false) then count=count+1 elseif(players[player].id) then count=count+1 end end return count end function eventLoop(time,remaining) returnMouseCount() if(remaining<=0 or count==0) then newRound() end playerList=tfm.get.room.playerList end function newRound() tfm.exec.setGameTime(483) tfm.exec.newGame(maps[math.random(#maps)]) end function main() tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAutoShaman(true) tfm.exec.newGame(maps[math.random(#maps)]) tfm.exec.setGameTime(483) for name,player in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end end if tfm.get.room.xmlMapInfo.xml == map7 then --yatay uzun if players[name].win==1 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,359,54) players[name].x=359 players[name].y=54 end end if players[name].win==2 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,659,54) players[name].x=659 players[name].y=54 end end if players[name].win==3 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,959,54) players[name].x=959 players[name].y=54 end end if players[name].win==4 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,1259,54) players[name].x=1259 players[name].y=54 end end if players[name].win==5 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,1559,54) players[name].x=1559 players[name].y=54 end end if players[name].win==6 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,1859,54) players[name].x=1859 players[name].y=54 end end if players[name].win==7 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,2159,54) players[name].x=2159 players[name].y=54 end end if players[name].win==8 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,2459,54) players[name].x=2459 players[name].y=54 end end if players[name].win==9 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,2759,54) players[name].x=2759 players[name].y=54 end end if players[name].win==10 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,3059,54) players[name].x=3059 players[name].y=54 end end if players[name].win==11 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,3259,54) players[name].x=3259 players[name].y=54 end end if players[name].win==12 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,3659,54) players[name].x=3659 players[name].y=54 end end if players[name].win==13 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,3959,54) players[name].x=3959 players[name].y=54 end end if players[name].win==14 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,4259,54) players[name].x=4259 players[name].y=54 end end if players[name].win==15 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,4559,54) players[name].x=4559 players[name].y=54 end end if players[name].win==17 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,4859,54) players[name].x=4859 players[name].y=54 end end if players[name].win==18 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,5159,54) players[name].x=5159 players[name].y=54 end end if players[name].win==19 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,5459,54) players[name].x=5459 players[name].y=54 end end if players[name].win==20 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,5759,54) players[name].x=5759 players[name].y=54 end end if players[name].win==21 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,6059,54) players[name].x=6059 players[name].y=54 end end if players[name].win==22 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,6359,54) players[name].x=6359 players[name].y=54 end end if players[name].win==23 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,6659,54) players[name].x=6659 players[name].y=54 end end if players[name].win==24 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,6959,54) players[name].x=6959 players[name].y=54 end end if players[name].win==25 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,7259,54) players[name].x=7259 players[name].y=54 end end if players[name].win==26 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,7559,54) players[name].x=7559 players[name].y=54 end end if players[name].win==27 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,7859,54) players[name].x=7859 players[name].y=54 end end if players[name].win==28 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,8159,54) players[name].x=8159 players[name].y=54 end end if players[name].win==29 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,8459,54) players[name].x=8459 players[name].y=54 end end if players[name].win==30 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,8759,54) players[name].x=8759 players[name].y=54 end end if players[name].win==31 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,9059,54) players[name].x=9059 players[name].y=54 end end if players[name].win==32 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,9359,54) players[name].x=9359 players[name].y=54 end end if players[name].win==33 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,9659,54) players[name].x=9659 players[name].y=54 end end if players[name].win==34 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,9959,54) players[name].x=9959 players[name].y=54 end end if players[name].win==35 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,10259,54) players[name].x=10259 players[name].y=54 end end if players[name].win==36 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,10559,54) players[name].x=10559 players[name].y=54 end end if players[name].win==37 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,10859,54) players[name].x=10859 players[name].y=54 end end if players[name].win==38 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,11159,54) players[name].x=11159 players[name].y=54 end end if players[name].win==39 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,11459,54) players[name].x=11459 players[name].y=54 end end if players[name].win==40 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,11759,54) players[name].x=11759 players[name].y=54 end end if players[name].win==41 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,12059,54) players[name].x=12059 players[name].y=54 end end if players[name].win==42 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,12359,54) players[name].x=12359 players[name].y=54 end end if players[name].win==43 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,12659,54) players[name].x=12659 players[name].y=54 end end if players[name].win==44 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,12959,54) players[name].x=12959 players[name].y=54 end end if players[name].win==45 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,13259,54) players[name].x=13259 players[name].y=54 end end if players[name].win==46 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,13559,54) players[name].x=13559 players[name].y=54 end end if players[name].win==47 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,13859,54) players[name].x=13859 players[name].y=54 end end if players[name].win==48 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,14159,54) players[name].x=14159 players[name].y=54 end end if players[name].win==49 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,14459,54) players[name].x=14459 players[name].y=54 end end if players[name].win==50 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,14759,54) players[name].x=14759 players[name].y=54 end end if players[name].win==51 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,15059,54) players[name].x=15059 players[name].y=54 end end if players[name].win==52 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,15359,54) players[name].x=15359 players[name].y=54 end end if players[name].win==53 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,15659,54) players[name].x=15659 players[name].y=54 end end if players[name].win==54 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,15959,54) players[name].x=15959 players[name].y=54 end end if players[name].win==55 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,16259,54) players[name].x=16259 players[name].y=54 end end if players[name].win==56 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,16559,54) players[name].x=16559 players[name].y=54 end end if players[name].win==57 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,16859,54) players[name].x=16859 players[name].y=54 end end if players[name].win==58 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,17159,54) players[name].x=17159 players[name].y=54 end end if players[name].win==59 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,17459,54) players[name].x=17459 players[name].y=54 end end if players[name].win==60 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,17759,54) players[name].x=17759 players[name].y=54 end end if players[name].win==61 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,18059,54) players[name].x=18059 players[name].y=54 end end if players[name].win==62 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,18359,54) players[name].x=18359 players[name].y=54 end end if players[name].win==63 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,18659,54) players[name].x=18659 players[name].y=54 end end if players[name].win==64 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,18959,54) players[name].x=18959 players[name].y=54 end end if players[name].win==65 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,19259,54) players[name].x=19259 players[name].y=54 end end if players[name].win==66 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.movePlayer(name,19559,54) players[name].x=19559 players[name].y=54 end end if players[name].win==67 then if y>=5725 then players[name].win=players[name].win+1 tfm.exec.giveCheese(name) end end end end function eventPlayerGetCheese(name) tfm.exec.playerVictory(name) end function eventPlayerWon(name) players[name].x=nil players[name].y=nil players[name].id=nil players[name].win=1 end