Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pena = '<C><P defilante="0,0,0,1" L="6000" G="0,5" H="800" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="3000" o="f8e0b0" X="1501" c="4" Y="401" T="12" H="800" /><S L="50" o="9e1ce1" X="805" H="50" Y="812" T="12" P="0,0,0,0.5,25,0,0,0" /><S P="0,0,0,0.5,-25,0,0,0" L="50" o="9e1ce1" X="305" Y="812" T="12" H="50" /><S H="800" L="3000" o="f8e0b0" X="4501" c="4" Y="400" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0,0,0,0,0,0" L="480" o="6701" X="555" Y="463" T="12" H="686" /><S P="0,0,0.3,0.2,0,0,0,0" L="91" o="9e1ce1" X="173" Y="800" T="12" H="10" /><S L="480" X="555" H="20" Y="129" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="91" o="9e1ce1" X="934" H="10" Y="800" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.1,0.2,0,0,0,0" L="1880" H="523" N="" Y="997" T="7" X="2085" /><S X="2107" L="360" H="125" c="4" Y="681" T="7" P="0,0,0.1,0.2,0,0,0,0" /><S P="0,0,0.1,0.2,0,0,0,0" L="360" X="1928" c="4" Y="711" T="7" H="56" /><S P="0,0,0.3,0.2,0,0,0,0" L="1880" H="20" N="" Y="746" T="6" X="2084" /><S L="360" H="20" X="2107" Y="614" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="360" X="1929" H="20" Y="673" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="200" H="200" X="2528" Y="702" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S H="180" L="240" X="2849" c="4" Y="650" T="7" P="0,0,0.1,0.2,0,0,0,0" /><S L="240" X="2850" H="20" Y="567" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="240" H="200" X="3285" Y="823" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="76" o="2e1eee" X="3282" Y="502" T="12" H="200" /><S L="120" o="1509a9" X="3281" H="35" Y="611" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" X="3282" H="40" Y="401" T="10" P="0,0,0.3,0,0,0,0,0" /><S L="120" X="3465" H="200" Y="752" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S H="200" L="400" X="4917" c="3" Y="648" T="7" P="0,0,0.1,0.2,0,0,0,0" /><S P="0,0,0.1,0.2,180,0,0,0" L="240" H="120" c="3" Y="688" T="7" X="4962" /><S L="240" X="3644" H="400" Y="706" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.1,0.2,0,0,0,0" L="2200" X="4864" c="4" Y="914" T="7" H="300" /><S L="2200" H="20" X="4863" Y="755" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="240" H="150" X="4366" Y="673" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S H="50" L="240" X="4897" c="3" Y="723" T="7" P="0,0,0.1,0.2,0,0,0,0" /><S L="240" X="4898" H="20" Y="697" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="240" H="20" X="4962" Y="627" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" X="4917" H="20" Y="545" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0,0,0,0,0,0" L="75" o="1a711b" H="311" Y="591" T="12" X="5230" /><S L="115" o="d520e" H="30" X="5228" Y="430" T="12" P="0,0,0,0,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" o="ffffff" X="5843" c="2" Y="526" T="12" H="434" /><S P="0,0,,,,0,0,0" L="73" X="5895" v="0001" Y="528" T="9" H="441" /><S H="434" L="30" o="ffffff" X="5947" c="2" N="" Y="528" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="1,0,0.3,0.2,0,1,3,3" L="75" o="e1e1e1" X="5895" c="2" Y="679" T="12" H="21" /><S P="0,0,0,0,90,0,0,0" L="10" o="0" X="1499" Y="-5" T="14" H="3000" /><S L="80" o="6701" X="1066" H="100" Y="748" T="12" P="0,0,00.1,0,0,0,0,0" /><S L="10" o="0" X="4454" H="3000" Y="-5" T="14" P="0,0,0,0,90,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="300" o="f4fa40" H="35" Y="177" T="12" X="5587" /><S L="300" o="f4fa40" H="35" X="5512" Y="99" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0,9999,90,0,0,0" L="10" o="0" X="5891" c="2" Y="305" T="14" H="100" /><S L="1160" H="400" X="562" N="" Y="998" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0,0,0,0,0,0" L="10" o="0" X="-3" Y="491" T="14" H="1000" /><S L="300" o="f4fa40" H="35" X="5754" Y="149" T="12" P="0,0,0.3,0.2,90,0,0,0" /><S P="0,0,0.3,0.2,90,0,0,0" L="200" o="1a711b" X="5301" Y="102" T="12" H="35" /><S L="120" o="74808" X="1066" H="30" Y="686" T="12" P="0,0,00.1,0,0,0,0,0" /><S L="10" o="0" X="1139" H="1000" Y="302" T="14" P="0,0,0,0,0,0,0,0" /></S><D><T Y="642" X="56" /><DS Y="727" X="1166" /></D><O><O C="32" Y="780" X="903" P="0" /><O C="32" Y="781" X="903" P="0" /><O C="32" Y="778" X="205" P="0" /><O C="32" Y="778" X="205" P="0" /><O C="6" Y="697" P="0" X="1325" /><O C="6" Y="655" P="0" X="1558" /><O C="6" Y="581" P="0" X="4577" /><O C="6" Y="696" P="0" X="1727" /><O C="6" Y="548" P="10" X="1433" /><O C="6" Y="369" P="0" X="1452" /><O C="6" Y="369" P="0" X="1425" /><O C="6" Y="88" P="0" X="1400" /><O C="6" Y="144" P="0" X="1903" /><O C="6" Y="50" P="0" X="1771" /><O C="6" Y="89" P="0" X="1342" /><O C="6" Y="248" P="0" X="1530" /><O C="6" Y="242" P="0" X="5349" /><O C="6" Y="183" P="0" X="4199" /><O C="6" Y="197" P="0" X="1668" /><O C="6" Y="286" P="0" X="1788" /><O C="6" Y="170" P="0" X="3945" /><O C="6" Y="369" P="0" X="1399" /><O C="6" Y="108" P="0" X="3602" /><O C="6" Y="76" P="0" X="1596" /><O C="6" Y="57" P="0" X="2002" /><O C="6" Y="86" P="0" X="2002" /><O C="6" Y="115" P="0" X="2003" /><O C="6" Y="144" P="0" X="2005" /><O C="6" Y="173" P="0" X="2011" /><O C="6" Y="189" P="0" X="2029" /><O C="6" Y="191" P="0" X="2055" /><O C="6" Y="176" P="0" X="2078" /><O C="6" Y="144" P="0" X="2084" /><O C="6" Y="114" P="0" X="2088" /><O C="6" Y="84" P="0" X="2088" /><O C="6" Y="55" P="0" X="2087" /><O C="6" Y="48" P="0" X="2140" /><O C="6" Y="76" P="0" X="2139" /><O C="6" Y="114" P="0" X="2140" /><O C="6" Y="146" P="0" X="2140" /><O C="6" Y="183" P="0" X="2143" /><O C="6" Y="91" P="0" X="4310" /><O C="6" Y="231" P="0" X="4734" /><O C="6" Y="45" P="0" X="2164" /><O C="6" Y="47" P="0" X="2186" /><O C="6" Y="67" P="0" X="2203" /><O C="6" Y="94" P="0" X="2211" /><O C="6" Y="113" P="0" X="2191" /><O C="6" Y="123" P="0" X="2167" /><O C="6" Y="97" P="0" X="3163" /><O C="6" Y="150" P="0" X="2882" /><O C="6" Y="268" P="0" X="4133" /><O C="6" Y="181" P="0" X="4172" /><O C="6" Y="149" P="0" X="2904" /><O C="6" Y="572" P="0" X="3093" /><O C="6" Y="84" P="10" X="4129" /><O C="6" Y="96" P="0" X="3439" /><O C="6" Y="145" P="0" X="2863" /><O C="6" Y="95" P="0" X="3414" /><O C="6" Y="631" P="0" X="4178" /><O C="6" Y="318" P="0" X="3097" /><O C="6" Y="28" P="0" X="4616" /><O C="6" Y="428" P="0" X="1634" /><O C="6" Y="479" P="0" X="2465" /><O C="6" Y="640" P="0" X="2039" /><O C="6" Y="145" P="0" X="2841" /><O C="6" Y="82" P="0" X="2347" /><O C="6" Y="359" P="0" X="3507" /><O C="6" Y="138" P="0" X="5513" /><O C="6" Y="362" P="0" X="3281" /><O C="6" Y="336" P="0" X="3746" /><O C="6" Y="217" P="0" X="3278" /><O C="6" Y="95" P="0" X="3386" /><O C="6" Y="92" P="0" X="4890" /><O C="6" Y="29" P="0" X="2535" /><O C="6" Y="483" P="0" X="5036" /><O C="6" Y="77" P="0" X="3812" /><O C="6" Y="65" P="0" X="5226" /><O C="6" Y="94" P="0" X="3357" /><O C="6" Y="675" P="0" X="4910" /><O C="6" Y="441" P="0" X="3649" /><O C="6" Y="198" P="0" X="1725" /><O C="6" Y="199" P="0" X="1781" /><O C="6" Y="368" P="0" X="1480" /><O C="6" Y="657" P="0" X="1612" /><O C="6" Y="461" P="20" X="4343" /><O C="6" Y="704" P="0" X="4044" /><O C="6" Y="207" P="0" X="2532" /><O C="6" Y="88" P="0" X="1315" /><O C="6" Y="88" P="0" X="1287" /><O C="6" Y="220" P="0" X="3686" /><O C="6" Y="441" P="0" X="1899" /><O C="6" Y="89" P="0" X="1371" /><O C="6" Y="440" P="0" X="1984" /><O C="6" Y="326" P="0" X="5514" /><O C="6" Y="440" P="0" X="1954" /><O C="6" Y="703" P="0" X="4016" /><O C="6" Y="425" P="0" X="4141" /><O C="6" Y="199" P="0" X="1753" /><O C="6" Y="359" P="0" X="3453" /><O C="6" Y="215" P="0" X="1330" /><O C="6" Y="357" P="0" X="3423" /><O C="6" Y="360" P="0" X="3481" /><O C="6" Y="553" P="0" X="1756" /><O C="6" Y="440" P="0" X="1926" /><O C="6" Y="714" P="0" X="2278" /><O C="6" Y="656" P="0" X="1584" /><O C="6" Y="197" P="0" X="1696" /><O C="6" Y="550" P="10" X="3434" /><O C="6" Y="570" P="0" X="1208" /><O C="6" Y="405" P="0" X="1241" /><O C="6" Y="300" P="10" X="1998" /><O C="6" Y="550" P="30" X="1946" /><O C="6" Y="654" P="0" X="1528" /><O C="6" Y="657" P="0" X="1642" /><O C="6" Y="706" P="0" X="5602" /><O C="6" Y="315" P="0" X="2183" /><O C="6" Y="184" P="0" X="4089" /><O C="6" Y="469" P="0" X="2152" /><O C="6" Y="576" P="0" X="5740" /><O C="6" Y="703" P="0" X="3987" /><O C="6" Y="576" P="0" X="2354" /><O C="6" Y="442" P="0" X="2982" /><O C="6" Y="715" P="0" X="1951" /><O C="6" Y="429" P="0" X="2283" /><O C="6" Y="356" P="0" X="2370" /><O C="6" Y="539" P="0" X="2813" /><O C="6" Y="357" P="0" X="2346" /><O C="6" Y="363" P="0" X="2595" /><O C="6" Y="343" P="0" X="4907" /><O C="6" Y="355" P="0" X="3393" /><O C="6" Y="364" P="0" X="3920" /><O C="6" Y="198" P="0" X="3029" /><O C="6" Y="369" P="0" X="2794" /><O C="6" Y="276" P="0" X="3488" /><O C="6" Y="355" P="0" X="2428" /><O C="6" Y="226" P="0" X="2402" /><O C="6" Y="189" P="0" X="5098" /><O C="6" Y="41" P="0" X="2739" /><O C="6" Y="184" P="0" X="4118" /><O C="6" Y="145" P="0" X="2824" /><O C="6" Y="40" P="0" X="2961" /><O C="6" Y="183" P="0" X="4143" /><O C="6" Y="263" P="0" X="2888" /><O C="6" Y="178" P="0" X="2628" /><O C="6" Y="354" P="0" X="2459" /><O C="6" Y="356" P="0" X="2399" /><O C="6" Y="778" P="0" X="206" /><O C="6" Y="778" P="0" X="206" /><O C="6" Y="778" P="0" X="206" /><O C="6" Y="782" P="0" X="904" /><O C="6" Y="782" P="0" X="904" /><O C="6" Y="530" P="0" X="5475" /><O C="6" Y="652" P="0" X="5325" /><O C="6" Y="488" P="0" X="2672" /><O C="6" Y="391" P="0" X="5228" /><O C="6" Y="207" P="0" X="4500" /><O C="6" Y="717" P="0" X="4658" /><O C="6" Y="671" P="0" X="3828" /><O C="6" Y="299" P="0" X="4335" /><O C="6" Y="132" P="0" X="5825" /><O C="6" Y="640" P="0" X="3284" /><O C="6" Y="677" P="0" X="2857" /><O C="6" Y="763" P="0" X="3104" /><O C="6" Y="526" P="0" X="3977" /><O C="6" Y="511" P="10" X="4793" /><O C="6" Y="325" P="0" X="5710" /><O C="6" Y="410" P="-10" X="4615" /><O C="6" Y="573" P="0" X="4346" /><O C="6" Y="49" P="0" X="334" /><O C="6" Y="104" P="0" X="379" /><O C="6" Y="48" P="0" X="422" /><O C="6" Y="104" P="0" X="459" /><O C="6" Y="48" P="0" X="501" /><O C="6" Y="701" P="0" X="3959" /><O C="6" Y="46" P="0" X="615" /><O C="6" Y="98" P="0" X="671" /><O C="6" Y="51" P="0" X="715" /><O C="6" Y="102" P="0" X="757" /><O C="6" Y="50" P="0" X="795" /><O C="32" Y="781" P="0" X="904" /><O C="32" Y="778" P="0" X="206" /><O C="32" Y="778" P="0" X="206" /><O C="32" Y="781" P="0" X="904" /><O C="32" Y="778" P="0" X="206" /><O C="32" Y="781" P="0" X="904" /><O C="32" Y="778" P="0" X="205" /><O C="32" Y="781" P="0" X="904" /></O></Z></C>'
- troca = 0
- jus1time = 0
- jusowntime = {}
- winners = 0
- total = 0
- red = 0
- fly = false
- comoss = false
- as = 0
- bossa = 0
- co1n = {}
- co2n = {}
- co3n = {}
- function localidade()
- for name,i in pairs(tfm.get.room.playerList) do
- if troca == 0 and i.x > 4690 and i.x < 4800 and i.y > 130 and i.y < 511 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- elseif troca == 1 and i.x > 4690 and i.x < 4800 and i.y > 130 and i.y < 511 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- elseif troca == 2 and i.x > 4372 and i.y < 400 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- elseif troca == 3 and i.x > 3990 and i.y < 590 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- elseif troca == 4 and i.x > (195 - 30) and i.x < (195 + 30) and i.y > (753 - 30) and i.y < (753 + 10) and not i.isDead then
- tfm.exec.movePlayer(name, 0, 0, false, 0, -80)
- elseif troca == 4 and i.x > (3167 - 30) and i.x < (3167 + 30) and i.y > (720 - 30) and i.y < (720 + 10) and not i.isDead then
- tfm.exec.movePlayer(name, 0, 0, false, 0, -150)
- elseif troca == 4 and i.x < 80 and i.y > 280 and i.y < 350 then
- tfm.exec.movePlayer(name, 0, 260)
- tfm.exec.movePlayer(name, 0, 0, false, 0, -180)
- elseif troca == 4 and i.y < 0 then
- tfm.exec.movePlayer(name, 0, 0, false, 150)
- elseif troca == 4 and i.x > 3800 and jusowntime[name] == 0 then
- comoss = true
- jusowntime = 1
- elseif troca == 5 and i.x > 5846 and i.y > 315 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- elseif troca == 5 and i.x > 3235 and i.x < 3324 and i.y > 550 and i.y < 650 then
- ui.addTextArea(4, "", name, 1140, -300, 1440, 1600, 0x6A7495, 0, 1, false)
- tfm.exec.movePlayer(name, 30, 2, false, 0, 50)
- comoss = true
- elseif troca == 5 and i.x > 1030 and i.x < 1098 and i.y > 647 and i.y < 677 then
- tfm.exec.movePlayer(name, 1220, 730, false)
- ui.addTextArea(4, "", name, -300, -300, 1440, 1600, 0x6A7495, 0, 1, false)
- fly = true
- elseif troca == 6 and i.x > 3990 and i.y < 590 and not i.isDead then
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.respawnPlayer(name)
- winners = winners + 1
- end
- end
- end
- function eventKeyboard(name, key, d, x, y)
- if key == 32 and x > (440 - 30) and x < (440 + 30) and y > (260 - 30) and y < (260 + 30) and co1n[name] and troca == 0 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (1220 - 30) and x < (1220 + 30) and y > (490 - 30) and y < (490 + 30) and co2n[name] and troca == 0 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (3063 - 30) and x < (3063 + 30) and y > (40 - 30) and y < (40 + 30) and co3n[name] and troca == 0 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and x > (70 - 30) and x < (70 + 30) and y > (30 - 30) and y < (30 + 30) and co1n[name] and troca == 1 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (1160 - 30) and x < (1160 + 30) and y > (765 - 30) and y < (765 + 30) and co2n[name] and troca == 1 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (3790 - 30) and x < (3790 + 30) and y > (791 - 30) and y < (791 + 30) and co3n[name] and troca == 1 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and x > (1090 - 30) and x < (1090 + 30) and y > (270 - 30) and y < (270 + 30) and co1n[name] and troca == 2 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (2565 - 30) and x < (2565 + 30) and y > (326 - 30) and y < (326 + 30) and co2n[name] and troca == 2 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (3180 - 30) and x < (3180 + 30) and y > (760 - 30) and y < (760 + 30) and co3n[name] and troca == 2 then
- ui.removeTextArea(3, name)
- tfm.exec.movePlayer(name, 0, 300)
- co3n[name] = false
- elseif key == 32 and x > (110 - 30) and x < (110 + 30) and y > (75 - 30) and y < (75 + 30) and co1n[name] and troca == 3 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (1187 - 30) and x < (1187 + 30) and y > (353 - 30) and y < (353 + 30) and co2n[name] and troca == 3 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (4670 - 30) and x < (4670 + 30) and y > (670 - 30) and y < (670 + 30) and co3n[name] and troca == 3 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and x > (406 - 30) and x < (406 + 30) and y > (257 - 30) and y < (257 + 30) and co1n[name] and troca == 4 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (767 - 30) and x < (767 + 30) and y > (641 - 30) and y < (641 + 30) and co2n[name] and troca == 4 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (1910 - 30) and x < (1910 + 30) and y > (668 - 30) and y < (668 + 30) and co3n[name] and troca == 4 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and x > (568 - 30) and x < (568 + 30) and y > (50 - 30) and y < (50 + 30) and co1n[name] and troca == 5 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (2162 - 30) and x < (2162 + 30) and y > (65 - 30) and y < (65 + 30) and co2n[name] and troca == 5 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (5700 - 30) and x < (5700 + 30) and y > (67 - 30) and y < (67 + 30) and co3n[name] and troca == 5 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and x > (885 - 30) and x < (885 + 30) and y > (460 - 30) and y < (460 + 30) and co1n[name] and troca == 6 then
- ui.removeTextArea(1, name)
- co1n[name] = false
- elseif key == 32 and x > (2142 - 30) and x < (2142 + 30) and y > (631 - 30) and y < (631 + 30) and co2n[name] and troca == 6 then
- ui.removeTextArea(2, name)
- co2n[name] = false
- elseif key == 32 and x > (3969 - 30) and x < (3969 + 30) and y > (561 - 30) and y < (561 + 30) and co3n[name] and troca == 6 then
- ui.removeTextArea(3, name)
- co3n[name] = false
- elseif key == 32 and fly and tfm.get.room.playerList[name].isFacingRight then
- tfm.exec.movePlayer(name, 0, 0, false, 80, -60)
- elseif key == 32 and fly and not tfm.get.room.playerList[name].isFacingRight then
- tfm.exec.movePlayer(name, 0, 0, false, -80, -60)
- end
- end
- for name in pairs(tfm.get.room.playerList) do
- system.bindKeyboard(name, 32, true, true)
- end
- function moedinhas(name)
- if troca == 0 then
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 410, 230, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 1190, 465, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 3033, 10, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Bola de Canhão")
- elseif troca == 1 then
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 40, 0, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 1130, 735, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 3750, 731, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Arbustos")
- elseif troca == 2 then
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 1060, 240, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 2535, 296, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 3120, 720, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Hélice")
- elseif troca == 3 then
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 80, 45, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 1157, 323, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 4640, 640, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Vitoria Regia")
- elseif troca == 4 then
- tfm.exec.addPhysicObject(1, 4322, 542, {type=12, width=500, height=62, color=0x70C781, groundCollision=true, miceCollision = true, angle = bossa})
- tfm.exec.addPhysicObject(2, 4322, 612, {type=10, width=500, height=120, groundCollision=true, miceCollision = true, angle = bossa})
- tfm.exec.addPhysicObject(3, 4320, 700, {type=12, width=600, height=10, color=0x70C781, groundCollision=true, miceCollision = false})
- tfm.exec.addPhysicObject(4, 4047, 522, {type=12, width=10, height=600, color=0x70C781, groundCollision=true, miceCollision = false})
- tfm.exec.addPhysicObject(5, 4600, 522, {type=12, width=10, height=60, color=0x70C781, groundCollision=true, miceCollision = false})
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 376, 227, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 737, 611, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 1880, 638, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Boss Iggy")
- elseif troca == 5 then
- fly = true
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 538, 20, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 2132, 35, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 5670, 37, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(4, "", name, -300, -300, 1440, 1600, 0x6A7495, 0, 1, false)
- ui.setMapName("Pena")
- elseif troca == 6 then
- ui.addTextArea(1, "<font color=\"#FFBF00\" size=\"100\">°", name, 885, 460, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(2, "<font color=\"#FFBF00\" size=\"100\">°", name, 2142, 631, x, y, 0x000000, 0x000000, 0, false)
- ui.addTextArea(3, "<font color=\"#FFBF00\" size=\"100\">°", name, 3969, 561, x, y, 0x000000, 0x000000, 0, false)
- ui.setMapName("Caverna Preta")
- end
- end
- function eventLoop(ct, tr)
- red = red + .5
- if red == 1 then
- localidade()
- if troca == 0 and jus1time == 0 then
- tfm.exec.newGame(5528843)
- moedinhas()
- jus1time = 1
- elseif troca == 1 and jus1time == 1 then
- tfm.exec.newGame(5529147)
- moedinhas()
- jus1time = 2
- elseif troca == 2 and jus1time == 2 then
- tfm.exec.newGame(5530214)
- moedinhas()
- jus1time = 3
- elseif troca == 3 and jus1time == 3 then
- tfm.exec.newGame(5535287)
- moedinhas()
- jus1time = 4
- elseif troca == 4 and jus1time == 4 then
- tfm.exec.newGame(5540495)
- moedinhas()
- jus1time = 5
- elseif troca == 5 and jus1time == 5 then
- tfm.exec.newGame(pena)
- moedinhas()
- jus1time = 6
- elseif troca == 6 and jus1time == 6 then
- tfm.exec.newGame(5537853)
- moedinhas()
- jus1time = 7
- elseif troca == 7 and jus1time == 7 then
- tfm.exec.newGame(5543029)
- moedinhas()
- jus1time = 8
- end
- if winners > total then
- troca = troca + 1
- winners = 0
- end
- red = 0
- end
- if comoss == true then
- as = math.random(5)
- end
- if as == 5 then
- bossa = 45
- tfm.exec.addPhysicObject(1, 4322, 542, {type=10, width=500, height=62, color=0x70C781, groundCollision=true, miceCollision = true, angle = bossa})
- tfm.exec.addPhysicObject(2, 4322, 612, {type=12, width=500, height=120, groundCollision=true, miceCollision = true, angle = bossa})
- elseif as == 4 then
- bossa = -45
- tfm.exec.addPhysicObject(1, 4322, 542, {type=12, width=500, height=62, color=0x70C781, groundCollision=true, miceCollision = true, angle = bossa})
- tfm.exec.addPhysicObject(2, 4322, 612, {type=10, width=500, height=120, groundCollision=true, miceCollision = true, angle = bossa})
- end
- end
- function eventNewGame()
- fly = false
- ui.removeTextArea(4)
- tfm.exec.setGameTime(99999)
- local winners = 0
- local total = 0
- for name,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- total = total + 1
- end
- end
- for name in pairs(tfm.get.room.playerList) do
- moedinhas(name)
- co1n[name] = true
- co2n[name] = true
- co3n[name] = true
- end
- end
- function eventPlayerDied(name)
- moedinhas(name)
- co1n[name] = true
- co2n[name] = true
- co3n[name] = true
- tfm.exec.respawnPlayer(name)
- end
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.setGameTime(99999)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement