Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin="Haxhhhhhhhhh" -- coloque o seu nome aqui para usar os comandos
- -- comandos: !escolher, !voltar e !respawn
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAfkDeath(true)
- mapa10='<C><P F="4" L="2920" /><Z><S><S L="3000" X="1600" H="30" Y="385" T="10" P="0,0,0.3,0,0,0,0,0" /><S L="40" X="600" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="800" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" X="1034" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="1257" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="1045" o="6a7495" H="1079" X="3454" Y="281" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" X="1516" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="1748" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" X="1962" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="2186" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" X="2419" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="2686" Y="186" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" X="2911" H="370" Y="185" T="10" P="0,0,0,0,0,0,0,0" /><S L="40" H="370" X="3120" Y="215" T="10" P="0,0,0,0,0,0,0,0" /></S><D><DS Y="358" X="356" /></D><O /><L><VL n="Layer1" l="-1" /><JD P1="7,182" c="ffffff,2,1,0" P2="33,159" /><JD P1="30,209" c="ffffff,2,1,0" P2="7,180" /><JD P1="69,186" c="ffffff,2,1,0" P2="31,212" /><JD P1="53,144" c="ffffff,2,1,0" P2="94,183" /><JD P1="93,128" c="ffffff,2,1,0" P2="122,157" /><JD P1="55,145" c="ffffff,2,1,0" P2="93,131" /><JD P1="92,184" c="ffffff,2,1,0" P2="124,157" /><JD P1="135,146" c="ffffff,2,1,0" P2="108,121" /><JD P1="128,107" c="ffffff,2,1,0" P2="112,126" /><JD P1="147,119" c="ffffff,2,1,0" P2="126,104" /><JD P1="129,130" c="ffffff,2,1,0" P2="146,120" /><JD P1="123,136" c="ffffff,2,1,0" P2="159,135" /><JD P1="147,91" c="ffffff,2,1,0" P2="176,120" /><JD P1="173,76" c="ffffff,2,1,0" P2="203,107" /><JD P1="209,79" c="ffffff,2,1,0" P2="174,68" /><JD P1="210,79" c="ffffff,2,1,0" P2="206,111" /><JD P1="229,90" c="ffffff,2,1,0" P2="215,46" /><JD P1="258,68" c="ffffff,2,1,0" P2="220,43" /><JD P1="229,71" c="ffffff,2,1,0" P2="244,56" /><JD P1="103,218" c="ffffff,2,1,0" P2="139,243" /><JD P1="145,203" c="ffffff,2,1,0" P2="103,217" /><JD P1="148,205" c="ffffff,2,1,0" P2="142,246" /><JD P1="175,208" c="ffffff,2,1,0" P2="158,172" /><JD P1="199,182" c="ffffff,2,1,0" P2="157,167" /><JD P1="173,194" c="ffffff,2,1,0" P2="189,177" /><JD P1="215,130" c="ffffff,2,1,0" P2="199,145" /><JD P1="211,159" c="ffffff,2,1,0" P2="198,145" /><JD P1="232,142" c="ffffff,2,1,0" P2="211,162" /><JD P1="251,158" c="ffffff,2,1,0" P2="232,141" /><JD P1="227,175" c="ffffff,2,1,0" P2="253,155" /><JD P1="15,319" c="ffffff,2,1,0" P2="47,348" /><JD P1="42,300" c="ffffff,2,1,0" P2="14,314" /><JD P1="55,314" c="ffffff,2,1,0" P2="42,298" /><JD P1="33,332" c="ffffff,2,1,0" P2="57,314" /><JD P1="67,300" c="ffffff,2,1,0" P2="95,290" /><JD P1="94,326" c="ffffff,2,1,0" P2="68,301" /><JD P1="117,314" c="ffffff,2,1,0" P2="94,331" /><JD P1="105,299" c="ffffff,2,1,0" P2="81,315" /><JD P1="120,274" c="ffffff,2,1,0" P2="142,299" /><JD P1="144,261" c="ffffff,2,1,0" P2="121,273" /><JD P1="159,273" c="ffffff,2,1,0" P2="145,260" /><JD P1="131,290" c="ffffff,2,1,0" P2="160,273" /><JD P1="171,289" c="ffffff,2,1,0" P2="135,289" /><JD P1="184,232" c="ffffff,2,1,0" P2="164,246" /><JD P1="191,271" c="ffffff,2,1,0" P2="167,247" /><JD P1="210,253" c="ffffff,2,1,0" P2="191,272" /><JD P1="200,241" c="ffffff,2,1,0" P2="212,253" /><JD P1="187,248" c="ffffff,2,1,0" P2="200,242" /><JD P1="208,218" c="ffffff,2,1,0" P2="235,245" /><JD P1="230,204" c="ffffff,2,1,0" P2="251,226" /><JD P1="230,244" c="ffffff,2,1,0" P2="252,223" /><JD P1="274,206" c="ffffff,2,1,0" P2="243,182" /><JD P1="292,189" c="ffffff,2,1,0" P2="244,181" /><JD P1="272,161" c="ffffff,2,1,0" P2="296,189" /><JD P1="303,135" c="ffffff,2,1,0" P2="334,158" /><JD P1="294,143" c="ffffff,2,1,0" P2="309,126" /><JD P1="352,138" c="ffffff,2,1,0" P2="335,105" /><JD P1="371,128" c="ffffff,2,1,0" P2="336,103" /><JD P1="346,125" c="ffffff,2,1,0" P2="357,117" /><JD P1="380,64" c="ffffff,2,1,0" P2="362,80" /><JD P1="379,102" c="ffffff,2,1,0" P2="361,80" /><JD P1="397,77" c="ffffff,2,1,0" P2="379,103" /><JD P1="415,96" c="ffffff,2,1,0" P2="398,77" /><JD P1="391,117" c="ffffff,2,1,0" P2="415,98" /><JD P1="256,306" c="ffffff,6,1,0" P2="280,313" /><JD P1="279,292" c="ffffff,6,1,0" P2="283,311" /><JD P1="303,260" c="ffffff,6,1,0" P2="323,242" /><JD P1="323,242" c="ffffff,6,1,0" P2="323,243" /><JD P1="350,265" c="ffffff,6,1,0" P2="323,240" /><JD P1="329,285" c="ffffff,6,1,0" P2="350,265" /><JD P1="272,234" c="ffffff,6,1,0" P2="329,286" /><JD P1="669,143" c="ffffff,4,1,0" P2="669,198" /><JD P1="896,134" c="ffffff,4,1,0" P2="930,134" /><JD P1="930,159" c="ffffff,4,1,0" P2="932,135" /><JD P1="897,161" c="ffffff,4,1,0" P2="929,158" /><JD P1="894,187" c="ffffff,4,1,0" P2="897,161" /><JD P1="925,187" c="ffffff,4,1,0" P2="893,190" /><JD P1="1156,131" c="ffffff,4,1,0" P2="1187,134" /><JD P1="1154,186" c="ffffff,4,1,0" P2="1180,186" /><JD P1="1180,186" c="ffffff,4,1,0" P2="1188,137" /><JD P1="1157,162" c="ffffff,4,1,0" P2="1185,161" /><JD P1="1437,134" c="ffffff,4,1,0" P2="1431,186" /><JD P1="1405,158" c="ffffff,4,1,0" P2="1433,157" /><JD P1="1410,124" c="ffffff,4,1,0" P2="1401,161" /><JD P1="1653,131" c="ffffff,4,1,0" P2="1626,134" /><JD P1="1622,159" c="ffffff,4,1,0" P2="1625,134" /><JD P1="1651,167" c="ffffff,4,1,0" P2="1623,159" /><JD P1="1644,186" c="ffffff,4,1,0" P2="1652,169" /><JD P1="1621,187" c="ffffff,4,1,0" P2="1642,187" /><JD P1="1829,152" c="ffffff,4,1,0" P2="1856,152" /><JD P1="1852,172" c="ffffff,4,1,0" P2="1857,153" /><JD P1="1833,178" c="ffffff,4,1,0" P2="1852,171" /><JD P1="1828,113" c="ffffff,4,1,0" P2="1831,180" /><JD P1="2036,120" c="ffffff,4,1,0" P2="2072,122" /><JD P1="2040,181" c="ffffff,4,1,0" P2="2072,125" /><JD P1="2299,122" c="ffffff,4,1,0" P2="2296,176" /><JD P1="2340,124" c="ffffff,4,1,0" P2="2339,182" /><JD P1="2301,119" c="ffffff,4,1,0" P2="2340,124" /><JD P1="2300,150" c="ffffff,4,1,0" P2="2341,151" /><JD P1="2295,178" c="ffffff,4,1,0" P2="2338,183" /><JD P1="2571,138" c="ffffff,4,1,0" P2="2532,139" /><JD P1="2538,103" c="ffffff,4,1,0" P2="2528,140" /><JD P1="2583,102" c="ffffff,4,1,0" P2="2566,174" /><JD P1="2537,103" c="ffffff,4,1,0" P2="2583,100" /><JD P1="2820,107" c="ffffff,4,1,0" P2="2820,159" /><JD P1="2837,109" c="ffffff,4,1,0" P2="2837,157" /><JD P1="2871,107" c="ffffff,4,1,0" P2="2872,163" /><JD P1="2836,107" c="ffffff,4,1,0" P2="2871,107" /><JD P1="2838,161" c="ffffff,4,1,0" P2="2873,163" /><JD P1="3077,107" c="ffffff,4,1,0" P2="3075,157" /><JD P1="3103,109" c="ffffff,4,1,0" P2="3104,158" /><L /></L></Z></C>'
- tfm.exec.newGame(mapa10)
- tfm.exec.setShaman(admin)
- tfm.exec.setGameTime(36000)
- palavra=""
- data={}
- player=0
- system.disableChatCommandDisplay("escolher")
- system.disableChatCommandDisplay("respawn")
- system.disableChatCommandDisplay("voltar")
- for name,player in pairs(tfm.get.room.playerList) do
- newData={
- ["p"]=0;
- }
- data[name] = newData;
- end
- function eventChatCommand(name,message)
- if message == "respawn" then
- for name in pairs(tfm.get.room.playerList) do
- tfm.exec.respawnPlayer(name)
- end
- end
- if message == "voltar" then
- if name == admin then
- ui.addPopup(2,2,"Coloque o nome do jogador que deseja voltar 1 casa:",admin,350,175,200,true)
- end
- end
- if message == "escolher" then
- if name == admin then
- ui.addPopup(0,2,"Insira a sua Pergunta:",admin,350,175,200,true)
- ui.addPopup(1,2,"Insira a Resposta da sua Pergunta:",admin,350,275,200,true)
- end
- end
- if(message:sub(1,3) == "msg") then
- if name == admin then
- tfm.exec.chatMessage("<VP> [Glados] <N>"..message:sub(5).."",nil)
- end
- end
- if message == palavra then
- data[name].p=data[name].p+1
- palavra=""
- tfm.exec.setPlayerScore(name,1,true)
- if data[name].p == 1 then
- tfm.exec.movePlayer(name,700,60,false,1,1,false)
- elseif data[name].p == 2 then
- tfm.exec.movePlayer(name,920,60,false,1,1,false)
- elseif data[name].p == 3 then
- tfm.exec.movePlayer(name,1140,60,false,1,1,false)
- elseif data[name].p == 4 then
- tfm.exec.movePlayer(name,1360,60,false,1,1,false)
- elseif data[name].p == 5 then
- tfm.exec.movePlayer(name,1580,60,false,1,1,false)
- elseif data[name].p == 6 then
- tfm.exec.movePlayer(name,1800,60,false,1,1,false)
- elseif data[name].p == 7 then
- tfm.exec.movePlayer(name,2020,60,false,1,1,false)
- elseif data[name].p == 8 then
- tfm.exec.movePlayer(name,2240,60,false,1,1,false)
- elseif data[name].p == 9 then
- tfm.exec.movePlayer(name,2460,60,false,1,1,false)
- elseif data[name].p == 10 then
- tfm.exec.movePlayer(name,2680,60,false,1,1,false)
- elseif data[name].p == 11 then
- tfm.exec.movePlayer(name,2900,60,false,1,1,false)
- end
- end
- end
- function eventPopupAnswer(id,name,answer)
- if id == 0 then
- ui.addPopup(2,0,"<font size='14'>"..answer.."",NIL,0,60,800,true)
- end
- if id == 1 then
- palavra=answer;
- end
- if id == 2 then
- if data[answer].p == 0 then
- ui.addPopup(10,0,"O usuário escolhido já está na primeira casa.",admin,350,175,200,true)
- else
- data[answer].p=data[answer].p-1
- if data[name].p == 0 then
- tfm.exec.movePlayer(name,400,60,false,1,1,false)
- elseif data[name].p == 1 then
- tfm.exec.movePlayer(name,700,60,false,1,1,false)
- elseif data[name].p == 2 then
- tfm.exec.movePlayer(name,920,60,false,1,1,false)
- elseif data[name].p == 3 then
- tfm.exec.movePlayer(name,1140,60,false,1,1,false)
- elseif data[name].p == 4 then
- tfm.exec.movePlayer(name,1360,60,false,1,1,false)
- elseif data[name].p == 5 then
- tfm.exec.movePlayer(name,1580,60,false,1,1,false)
- elseif data[name].p == 6 then
- tfm.exec.movePlayer(name,1800,60,false,1,1,false)
- elseif data[name].p == 7 then
- tfm.exec.movePlayer(name,2020,60,false,1,1,false)
- elseif data[name].p == 8 then
- tfm.exec.movePlayer(name,2240,60,false,1,1,false)
- elseif data[name].p == 9 then
- tfm.exec.movePlayer(name,2460,60,false,1,1,false)
- elseif data[name].p == 10 then
- tfm.exec.movePlayer(name,2680,60,false,1,1,false)
- end
- end
- end
- end
- function eventNewPlayer(name)
- tfm.exec.respawnPlayer(name)
- newData={
- ["p"]=0;
- }
- data[name] = newData;
- end
- tfm.exec.setUIMapName("Corrida das perguntas versão 6.4 (versão de 32 bits) - Script feito por Haxhhhhhhhhh")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement