Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin="Wrfg#0000" -- Funcorp, insira seu nome aqui (com a #tag) para utilizar os comandos abaixo.
- --[[ Funcorp, you can now use the commands of Master Says by using the command !run [number].The description of the commands are as follow:
- 1: Dance!
- 2: Sit!
- 3: Throw 5 confetti!
- 4: Click on the screen 10 times!
- 5: Give 10 kiss!
- 6: Vocês estão com sono. Durmam para descansar.
- 7: Tigrounette é do mal! Fique com raiva dele!
- 8: Vocês não ganharam queijo. Chorem!
- 9: Não vá para a esquerda!
- 10: Não vá para a direita!
- 11: Digite o seguinte número
- 12: Digite qualquer coisa e mande para mim.
- 13: Digite o seguinte número
- 14: Não falem nada!
- 15: Não pulem!
- 16: Não se mexam!
- 17: Balance a bandeira de qualquer país!
- 18: Em que ano estamos?
- 19: Fique virado para a esquerda!
- 20: Fique virado para a direita!
- 21: Fique dentro do quadrado branco!
- 22: Fique dentro do retângulo branco!
- 23: Não fique dentro do retângulo branco!
- 24: Fique dentro do retângulo branco!
- 25: Não fique dentro do retângulo branco!
- 26: Pressione 30 vezes a tecla para ESQUERDA!
- 27: Pressione 30 vezes a tecla para DIREITA!
- 28: Pressione 60 vezes a tecla para ESQUERDA!
- 29: Pressione 60 vezes a tecla para DIREITA!
- 30: Pressione a BARRA DE ESPAÇO 20 vezes!
- 31: Digite seu nome no jogo (com #número).
- 32: Não dance:
- 33: Fique dentro do quadrado branco!
- 34: Fique dentro do quadrado vermelho!
- 35: Fique dentro do retângulo branco!
- 36: Fique dentro do retângulo vermelho!
- Utilizando um número diferente desses você irá matar todos os ratos, portanto tenha cuidado ao digitar!
- ]]--
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAutoScore(true)
- tfm.exec.disableAfkDeath(true)
- mapas={6788085,6788183,6789853,6791944,6792470,6808957,6810292,6821950,6830799,6866406,6866549,6788693,6788728,6859175,6834529,6866437,6812488,6876638,6876563,6885971,6888512,6893463,6900149,6907177,6892608,6982387,5328362,5957905,7055459,7290270,7290275,7404106,7404327,7382263,7394517,7405103,7400694,7400678,7412412,7412422,7431981,7354947,7525277,6983850,6892022,6981135,6943992,6879100,6885799,6885841,6886906,6754319,6789272,6790912,6833993}
- active=0
- vivo=0
- rato=0
- dificuldade=1
- rodadas=0
- string=""
- rodada=0
- number=0
- xpos=0
- ypos=0
- data={}
- lang={}
- pergunta="Interval"
- tempo=10
- resposta=""
- unlocked=true
- for _,f in next,{"run","q","r","mapa","reset","time"} do
- system.disableChatCommandDisplay(f)
- end
- lang.br = {
- welcome = "<FC>Bem-vindo a sala Mestre Mandou! Nesta sala seu objetivo é fazer tudo o que o script mandar.<ROSE><br><VP>Script criado por Darakdarkus7#0000 e os membros da Spectra Advanced Module Group - Versão RTM Compilação 51 - Funcorp Edition",
- dancar = "Dance!",
- sentar = "Sente!",
- confetar = "Atire 5 confetes!",
- mouse = "Clique na tela 10 vezes!",
- beijos = "Dê 10 beijos!",
- dormir = "Vocês estão com sono. Durmam para descansar.",
- raiva = "Tigrounette é do mal! Fiquem com raiva dele!",
- chorem = "Vocês não ganharam queijo :( Chorem!",
- esquerda = "Não vá para a esquerda!",
- direita = "Não vá para a direita!",
- numero = "Digite o seguinte número: ",
- digitar = "Digite qualquer coisa e mande para mim.",
- falar = "Não falem nada!",
- pular = "Não pulem!",
- mexer = "Não se mexam!",
- bandeira = "Balance a bandeira de qualquer país!",
- ano = "Em que ano estamos?",
- vesquerda = "Fique virado para a esquerda!",
- vdireita = "Fique virado para a direita!",
- quadradov = "Fique no quadrado vermelho!",
- quadrado = "Fique no quadrado branco!",
- retangulo = "Fique dentro do retângulo branco!",
- retangulov = "Fique dentro do retângulo vermelho!",
- nretangulo = "Não fique dentro do retângulo branco!",
- preesquerda30 = "Pressione 30 vezes a tecla para ESQUERDA!",
- predireita30 = "Pressione 30 vezes a tecla para DIREITA!",
- preesquerda60 = "Pressione 60 vezes a tecla para ESQUERDA!",
- predireita60 = "Pressione 60 vezes a tecla para DIREITA!",
- espaco = "Pressione a barra de espaço 20 vezes!",
- nome = "Digite o seu nome no jogo (com #número).",
- ndance = "Não dance!",
- mestre = "Mestre Mandou",
- map = "Mapa",
- time = "Tempo",
- mice = "Ratos",
- round = "Rodada",
- mices = "Esta sala requer pelo menos 4 ratos.",
- difficulty = "Dificuldade",
- creator = "Module criado por Darakdarkus7#0000",
- segundos = "segundos.",
- fim = "Partida encerrada! Próxima partida iniciando em ",
- playingmap = "Rodando mapa",
- created = "criado por"
- }
- lang.en = {
- welcome = "<FC>Welcome to script Master Says! On this module you have to do everything that the master says.<ROSE><br><VP>Module created by Darakdarkus7#0000 and the Spectra Advanced Module Group - Version RTM Compilation 51 - Funcorp Edition",
- dancar = "Dance!",
- sentar = "Sit!",
- confetar = "Throw 5 confetti!",
- mouse = "Click on screen 10 times!",
- beijos = "Give 10 kisses!",
- dormir = "They are sleepy. Sleep to rest.",
- raiva = "Tigrounette is evil! Get angry with him!",
- chorem = "No cheese for you. Cry!",
- esquerda = "Don't go to the LEFT!",
- direita = "Don't go to the RIGHT!",
- numero = "Type this number: ",
- digitar = "Type anything and send to me.",
- falar = "Don't speak nothing!",
- pular = "Don't jump!",
- mexer = "Don't move!",
- bandeira = "Balance the flag of anything country!",
- ano = "What year are we?",
- vesquerda = "Stay facing LEFT!",
- vdireita = "Stay facing RIGHT!",
- quadradov = "Stay on the red square!",
- quadrado = "Stay on the white square!",
- retangulo = "Stay on the white rectangle!",
- retangulov = "Stay on the red rectangle!",
- nretangulo = "Don't stay on the white rectangle!",
- preesquerda30 = "Press 30 times the LEFT key!",
- predireita30 = "Press 30 times the RIGHT key!",
- preesquerda60 = "Press 60 times the LEFT key!",
- predireita60 = "Press 60 times the RIGHT key!",
- espaco = "Press 20 times the SPACEBAR!",
- nome = "Type your nickname (with #number)!",
- ndance = "Don't dance!",
- mestre = "Master Says",
- map = "Map",
- time = "Time",
- mice = "Mice",
- round = "Round",
- mices = "This room requires at least 4 players.",
- difficulty = "Difficulty",
- creator = "Module created by Darakdarkus7#0000",
- segundos = "seconds.",
- fim = "End of match! The next match will start on ",
- playingmap = "Playing map",
- created = "created by"
- }
- lang.ru = {
- welcome = "<FC>Добро пожаловать в игру: Что Скажет Мастер! В этом модуле вы должны исполнять любые пожелания мастера!<ROSE><br><VP>Модуль был создан Darakdarkus7#0000 и the Spectra Advanced Module Group - версия RTM Compilation 51 - Funcorp Edition",
- dancar = "Танцуйте!",
- sentar = "Присядьте!",
- confetar = "Киньте конфетти 5 раз!",
- mouse = "Кликните мышкой по экрану 10 раз!",
- beijos = "Пошлите 10 поцелуев!",
- dormir = "Все сонные. Спите.",
- raiva = "Tigrounette - дьявол! Разозлитесь на него!",
- chorem = "Вы остались без сыра. Плачьте!",
- esquerda = "НЕ идите НАЛЕВО!",
- direita = "НЕ идите НАПРАВО!",
- numero = "Напишите этот номер: ",
- digitar = "Напишите что угодно в общий чат.",
- falar = "Молчите!",
- pular = "Не прыгайте!",
- mexer = "Не двигайтесь!",
- bandeira = "Помашите флагом любой страны!",
- ano = "В каком году мы живем?",
- vesquerda = "Стойте лицом в ЛЕВУЮ сторону!",
- vdireita = "Стойте лицом в ПРАВУЮ сторону!",
- quadradov = "Стойте на красном квадрате!",
- quadrado = "Стойте на белом квадрате!",
- retangulo = "Стойте на белом прямоугольнике!",
- retangulov = "Стойте на красном прямоугольнике!",
- nretangulo = "НЕ стойте на белом прямоугольнике!",
- preesquerda30 = "Нажмите на ЛЕВУЮ стрелку 30 раз!",
- predireita30 = "Нажмите на ПРАВУЮ стрелку 30 раз!",
- preesquerda60 = "Нажмите на ЛЕВУЮ стрелку 60 раз!",
- predireita60 = "Нажмите на ПРАВУЮ стрелку 60 раз!",
- espaco = "Нажмите на пробел 20 раз!",
- nome = "Напишите свой никнейм (с #тегом)!",
- ndance = "Не танцуйте!",
- mestre = "Мастер вещает",
- map = "Карта",
- time = "Время",
- mice = "Мыши",
- round = "Раунд",
- mices = " Для этой игры требуется как минимум 4 игрока.",
- difficulty = "Сложность",
- creator = "Модуль был создан Darakdarkus7#0000",
- segundos = "seconds.",
- fim = "Конец матча! Следующий матч начнется через ",
- playingmap = "Карта:",
- created = "Создатель:"
- }
- lang.ar = {
- welcome = "<FC>مرحبًا بكم في نمط الرئيس! في هذا النمط، عليك فعل كل مايقوله الرئيس!.<ROSE><br><VP>صُنع النمط عن طريقDarakdarkus7#0000 و the Spectra Advanced Module Group - الإصدار : RTM Compilation 51 Funcorp Edition, تُرجم للغة العربية عن طريق اللاعب : [Vigo#4765]",
- dancar = "ارقص!",
- sentar = "اجلس!",
- confetar = "قُم برمي 5 أوراق.",
- mouse = "اضغط على الشاشة بالفأرة 10 مرات!",
- beijos = "أعطي 10 قبلات!",
- dormir = "إنهم يَشعرون بالنُعاس، نام لتستريح!",
- raiva = "تايغرونيت شرير!، قُم بالغضب منه!",
- chorem = "لم تلتقط أي قطعة من الجبن، ابكي!",
- esquerda = "لا تذهب لليسار!",
- direita = "لا تذهب لليمين!",
- numero = "اكتب هذا الرقم: ",
- digitar = "اكتب أيَّ شيء وارسله لي.",
- falar = "لا تتحدث أو تقل أيَّ شيء.!",
- pular = "لا تَقفز!",
- mexer = "لا تتحرك!",
- bandeira = "ارفع علم أي دول.",
- ano = "في أي عام نحن؟",
- vesquerda = "ابقى مواجهًا لليسار!",
- vdireita = "ابقى مواجهًا لليمين!",
- quadradov = "ابقى في المربع الأحمر!",
- quadrado = "ابقى في المربع الأبيض",
- retangulo = "ابقى في المستطيل الأبيض",
- retangulov = "ابقى في المستطيل الأحمر!",
- nretangulo = "لا تبقى في المستطيل الأبيض!",
- preesquerda30 = "اضغط 30 مرة على زر السهم الأيسر!",
- predireita30 = "اضغط 30 مرة على زر السهم الأيمن!",
- preesquerda60 = "اضغط 60 مرة على زر السهم الأيسر!",
- predireita60 = "اضغط 60 مرة على زر السهم الأيمن",
- espaco = "أضغط على زر المسافة 20 مرة!",
- nome = "اكتب اسمك (مع رقم #الهاشتاج)ـ",
- ndance = "لا ترقص!",
- mestre = "الرئيس يقول",
- map = "الخريطة",
- time = "الوقت",
- mice = "الفئران",
- round = "الجولة",
- mices = "هذه الغرفة تطلب على الأقل 4 لاعبين",
- difficulty = "الصعوبة",
- creator = "صُنع النمط عن طريق Darakdarkus7#0000",
- segundos = "ثوانٍ.",
- fim = "نهاية الجولة! ستبدأ الجولة التالية في غضون ",
- playingmap = "بدأ الخارطة",
- created = "created by"
- }
- lang.es = {
- welcome = "<FC> Bienvenido al módulo ¡Simón dice! En este módulo tienes que hacer todo lo que dice simón. <ROSE> <br> <VP> Módulo creado por Darakdarkus7#0000 y los membros de Spectra Advanced Module Group - Versión RTM Compilation 51 - Funcorp Edition",
- dancar = "¡Danza!",
- sentar = "¡Sentarse!",
- confetar = "¡Lanza confeti 5 veces!",
- mouse = "¡Haga clic en la pantalla 10 veces!",
- beijos = "¡Lanza 10 besos!",
- dormir = "Tienen sueño. Duerman para descansar",
- raiva = "¡Tigrounette es malvado! ¡Enójate con él!",
- chorem = "No hay queso para ti. Llora!",
- esquerda = "¡No vayas a la IZQUIERDA!",
- direita = "¡No vayas a la DERECHA!",
- numero = "Escriba este número:",
- digitar = "Escribe cualquier cosa y mándamela",
- falar = "¡No hables nada!",
- pular = "¡No saltes!",
- mexer = "¡No te muevas!",
- bandeira = "¡Agita la bandera de cualquier país!",
- ano = "¿En qué año estamos?",
- vesquerda = "¡Quédate frente a la IZQUIERDA!",
- vdireita = "¡Mantente mirando a la DERECHA!",
- quadrado = "¡Quédate en el cuadrado blanco!",
- quadradov = "¡Quédate en el cuadrado rojo!",
- retangulo = "¡Quédate en el rectángulo blanco!",
- retangulov = "¡Quédate en el rectángulo rojo!",
- nretangulo = "¡No te quedes en el rectángulo blanco!",
- preesquerda30 = "Presiona 30 veces la tecla IZQUIERDA!",
- predireita30 = "Presiona 30 veces la tecla DERECHA!",
- preesquerda60 = "Presiona 60 veces la tecla IZQUIERDA!",
- predireita60 = "Presiona 60 veces la tecla DERECHA!",
- espaco = "Presione 20 veces la barra espaciadora!",
- nome = "Escribe tu apodo (con #numero incluido)",
- ndance = "¡No bailes!",
- mestre = "Simón dice",
- map = "Mapa",
- time = "Hora",
- mice = "Ratones",
- round = "Redondo",
- mices = "Esta sala requiere al menos 4 jugadores",
- difficulty = "Dificultad",
- creator = "Módulo creado por Darakdarkus7#0000",
- segundos = "segundos.",
- fim = "¡Fin del partido! El próximo partido comenzará el ",
- playingmap = "Mapa de juego",
- created = "creado por"
- }
- lang.cn = {
- welcome = "<FC>歡迎來到«主人說»的遊戲! 在這個模式中你需要完成主人所有的命令才可以獲勝。<ROSE><br><VP>遊戲創作人: Darakdarkus7#0000 以及 Spectra Advanced 模組團體\n- 版本 RTM Compilation 51 - Funcorp Edition",
- dancar = "跳舞!",
- sentar = "坐下!((乖狗狗(x ",
- confetar = "撒紙屑 5 次!",
- mouse = "點擊螢幕 10 次!",
- beijos = "發愛心 10 次!",
- dormir = "他們睏了。睡覺休息。",
- raiva = "Tigrounette#0001 是惡魔! 向他生氣吧!",
- chorem = "你沒有奶酪吃了。哭! QQ",
- esquerda = "不要走向左邊!",
- direita = "不要走向右邊!",
- numero = "輸入這數字: ",
- digitar = "輸入任何字發送給我。",
- falar = "不要說任何話!",
- pular = "不要跳!",
- mexer = "不要動!",
- bandeira = "揮動任何國家的旗子!",
- ano = "現在是公元幾年?",
- vesquerda = "面向左邊!",
- vdireita = "面向右邊!",
- quadradov = "站在紅色方格內!",
- quadrado = "站在白色方格內!",
- retangulo = "留在白色區域裡!",
- retangulov = "留在紅色區域裡!",
- nretangulo = "不要留在白色區域裡面!",
- preesquerda30 = "按 30 次左鍵!",
- predireita30 = "按 30 次右鍵!",
- preesquerda60 = "按 60 次左鍵!",
- predireita60 = "按 60 次右鍵!",
- espaco = "按 20 次空格鍵!",
- nome = "輸入你的玩家名字 (包括 #編號)!",
- ndance = "不要跳舞!",
- mestre = "主人說",
- map = "地圖",
- time = "時間",
- mice = "小鼠",
- round = "回合",
- mices = "這房間需要至少 4 個玩家。",
- difficulty = "難度",
- creator = "模式創作人: Darakdarkus7#0000",
- segundos = "秒數。",
- fim = "回合結束! 距離下一回合開始時間",
- playingmap = "使用中地圖:",
- created = "創作人:"
- }
- if tfm.get.room.community == "br" then
- text = lang.br
- elseif tfm.get.room.community == "ar" then
- text = lang.ar
- elseif tfm.get.room.community == "es" then
- text = lang.es
- elseif tfm.get.room.community == "cn" then
- text = lang.cn
- elseif tfm.get.room.community == "ru" then
- text = lang.ru
- else
- text = lang.en
- end
- function eventNewPlayer(name)
- rato=rato+1
- for k=32, 87 do
- tfm.exec.bindKeyboard(name,k,false,true)
- end
- system.bindMouse(name,true)
- newData={
- ["c"]=0;
- ["s"]=0;
- };
- data[name] = newData;
- tfm.exec.chatMessage(""..text.welcome.."",name)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventPlayerDied(name)
- if active >= 0 then
- vivo=vivo-1
- local i=0
- local name
- for pname,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- i=i+1
- name=pname
- end
- end
- if i==0 then
- active=-1
- elseif i==1 then
- active=-1
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- tfm.exec.setGameTime(10)
- end
- end
- end
- function eventNewGame()
- ui.removeTextArea(0,nil)
- rodada=0
- active=0
- vivo=0
- rato=0
- dificuldade=1
- if unlocked == true then
- tfm.exec.setGameTime(15)
- else
- tfm.exec.setGameTime(36000)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- vivo=vivo+1
- rato=rato+1
- if data[name] then
- data[name].c=0
- data[name].key=0
- end
- end
- rodadas=math.floor(10+(rato/3))
- end
- function eventPlayerLeft()
- rato=rato-1
- end
- function sortearComandos()
- active=math.random(1,36)
- getCommand()
- end
- function eventChatCommand(name,message)
- if name == "Darakdarkus7#0000" or name == admin then
- if(message:sub(0,3) == "run") then
- active=tonumber(message:sub(5))
- getCommand()
- end
- end
- if name == "Darakdarkus7#0000" then
- if(message:sub(0,1) == "q") then
- pergunta=message:sub(3)
- end
- end
- if name == "Darakdarkus7#0000" then
- if(message:sub(0,1) == "r") then
- resposta=message:sub(3)
- end
- end
- if name == "Darakdarkus7#0000" or name == admin then
- if(message:sub(0,4) == "mapa") then
- tfm.exec.newGame(message:sub(6))
- active=0
- end
- end
- if name == "Darakdarkus7#0000" or name == admin then
- if message == "reset" then
- tfm.exec.newGame(mapas[math.random(#mapas)])
- active=0
- end
- end
- if name == "Darakdarkus7#0000" then
- if(message:sub(0,4) == "time") then
- tempo=message:sub(6)
- end
- end
- end
- function getCommand()
- rodada=rodada+1
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=0
- data[name].s=0
- end
- if active == 1 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.dancar.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 2 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.sentar.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 3 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.confetar.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(6)
- end
- if active == 4 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.mouse.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(6)
- end
- if active == 5 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.beijos.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(15)
- end
- if active == 6 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.dormir.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 7 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.raiva.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 8 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.chorem.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 9 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.esquerda.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(8)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 10 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.direita.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(8)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 11 then
- number=math.random(100000,999999)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.numero..""..number.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(9)
- end
- if active == 12 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.digitar.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(7)
- end
- if active == 13 then
- number=math.random(10000000,99999999)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.numero..""..number.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(12)
- end
- if active == 14 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.falar.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 15 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.pular.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 16 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.mexer.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 17 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.bandeira.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(8)
- end
- if active == 18 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.ano.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- end
- if active == 19 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.vesquerda.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 20 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.vdireita.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 21 then
- xpos=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.quadrado.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos,320,80,65,0xffffff,0xffffff,0.68,false)
- end
- if active == 22 then
- xpos=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.retangulo.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos,0,80,400,0xffffff,0xffffff,0.68,false)
- end
- if active == 23 then
- xpos=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.nretangulo.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos,0,80,400,0xffffff,0xffffff,0.68,false)
- end
- if active == 24 then
- ypos=math.random(40,300)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.retangulo.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,0,ypos,1600,60,0xffffff,0xffffff,0.68,false)
- end
- if active == 25 then
- ypos=math.random(40,300)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.nretangulo.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,0,ypos,1600,60,0xffffff,0xffffff,0.68,false)
- end
- if active == 26 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.preesquerda30.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(9)
- end
- if active == 27 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.predireita30.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(9)
- end
- if active == 28 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.preesquerda60.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(15)
- end
- if active == 29 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.predireita60.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(15)
- end
- if active == 30 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.espaco.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(7)
- end
- if active == 31 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.nome.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(12)
- end
- if active == 32 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.ndance.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(6)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- end
- if active == 33 then
- xpos=math.random(60,650)
- local xpos2=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.quadrado.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos,320,80,65,0xffffff,0xffffff,0.68,false)
- ui.addTextArea(2,"",nil,xpos2,320,80,65,0xff0000,0xff0000,0.62,false)
- end
- if active == 34 then
- xpos=math.random(60,650)
- local xpos2=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.quadradov.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos2,320,80,65,0xffffff,0xffffff,0.68,false)
- ui.addTextArea(2,"",nil,xpos,320,80,65,0xff0000,0xff0000,0.62,false)
- end
- if active == 35 then
- xpos=math.random(60,650)
- local xpos2=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.retangulo.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos,0,80,400,0xffffff,0xffffff,0.68,false)
- ui.addTextArea(2,"",nil,xpos2,0,80,400,0xff0000,0xff0000,0.62,false)
- end
- if active == 36 then
- xpos=math.random(60,650)
- local xpos2=math.random(60,650)
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..text.retangulov.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(5)
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].c=1
- end
- ui.addTextArea(1,"",nil,xpos2,0,80,400,0xffffff,0xffffff,0.68,false)
- ui.addTextArea(2,"",nil,xpos,0,80,400,0xff0000,0xff0000,0.62,false)
- end
- if active == 37 then
- ui.addTextArea(0,"<font face='Segoe UI'><font color='#e5e5e5'><font size='25'><p align='center'>"..pergunta.."",nil,25,20,750,40,0x010101,0x121212,0.96,true)
- tfm.exec.setGameTime(tempo)
- end
- end
- function eventChatMessage(name,message)
- if active == 11 or active == 13 then
- if message == tostring(number) or message == string then
- data[name].c=1
- end
- end
- if active == 12 then
- data[name].c=1
- end
- if active == 14 or active == 16 then
- tfm.exec.killPlayer(name)
- end
- if active == 18 then
- if message == "2020" then
- data[name].c=1
- end
- end
- if active == 31 then
- if string.upper(message) == string.upper(name) then
- data[name].c=1
- end
- end
- if active == 37 then
- if tostring(message) == tostring(resposta) then
- data[name].c=1
- end
- end
- end
- function eventEmotePlayed(name,id)
- if active == 1 then
- if id == 0 or id == 10 then
- data[name].c=1
- end
- end
- if active == 2 then
- if id == 8 then
- data[name].c=1
- end
- end
- if active == 3 then
- if id == 9 then
- data[name].s=data[name].s+1
- if data[name].s >= 5 then
- data[name].c=1
- end
- end
- end
- if active == 5 then
- if id == 3 then
- data[name].s=data[name].s+1
- if data[name].s >= 10 then
- data[name].c=1
- end
- end
- end
- if active == 6 then
- if id == 6 then
- data[name].c=1
- end
- end
- if active == 7 then
- if id == 4 then
- data[name].c=1
- end
- end
- if active == 8 then
- if id == 2 then
- data[name].c=1
- end
- end
- if active == 16 then
- tfm.exec.killPlayer(name)
- end
- if active == 17 then
- if id == 10 then
- data[name].c=1
- end
- end
- if active == 32 then
- if id == 0 or id == 10 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- function eventMouse(name,x,y)
- if active == 4 then
- data[name].s=data[name].s+1
- if data[name].s >= 10 then
- data[name].c=1
- end
- end
- end
- function eventKeyboard(name,id,down,x,y)
- if active == 9 then
- if id == 37 or id == 65 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 10 then
- if id == 39 or id == 68 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 15 then
- if id == 38 or id == 87 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 16 then
- tfm.exec.killPlayer(name)
- end
- if active == 26 then
- if id == 37 or id == 65 then
- if data[name].key == 0 then
- data[name].key=id
- end
- data[name].s=data[name].s+1
- if data[name].s >= 30 then
- data[name].c=1
- end
- end
- if data[name].key == 37 and id == 65 then
- tfm.exec.killPlayer(name)
- end
- if data[name].key == 65 and id == 37 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 27 then
- if id == 39 or id == 68 then
- if data[name].key == 0 then
- data[name].key=id
- end
- data[name].s=data[name].s+1
- if data[name].s >= 30 then
- data[name].c=1
- end
- end
- if data[name].key == 39 and id == 68 then
- tfm.exec.killPlayer(name)
- end
- if data[name].key == 68 and id == 39 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 28 then
- if id == 37 or id == 65 then
- if data[name].key == 0 then
- data[name].key=id
- end
- data[name].s=data[name].s+1
- if data[name].s >= 60 then
- data[name].c=1
- end
- end
- if data[name].key == 37 and id == 65 then
- tfm.exec.killPlayer(name)
- end
- if data[name].key == 65 and id == 37 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 29 then
- if id == 39 or id == 68 then
- if data[name].key == 0 then
- data[name].key=id
- end
- data[name].s=data[name].s+1
- if data[name].s >= 60 then
- data[name].c=1
- end
- end
- if data[name].key == 39 and id == 68 then
- tfm.exec.killPlayer(name)
- end
- if data[name].key == 68 and id == 39 then
- tfm.exec.killPlayer(name)
- end
- end
- if active == 30 then
- if id == 32 then
- data[name].s=data[name].s+1
- if data[name].s >= 15 then
- data[name].c=1
- end
- end
- end
- end
- function eventLoop(passado,faltando)
- local tempo=math.floor(faltando/1000)
- if active == -2 then
- ui.setMapName("<N>"..text.mices.."<")
- elseif active == -1 then
- ui.setMapName("<VP>"..text.fim.."<b>"..tempo.."</b> "..text.segundos.."<")
- end
- if active >= 0 then
- if passado > 1200 and passado < 1700 and unlocked == true then
- tfm.exec.chatMessage(""..text.playingmap.." <J>"..tfm.get.room.currentMap.."<BL> "..text.created.." <J>"..tfm.get.room.xmlMapInfo.author)
- end
- end
- if rato < 4 then
- if tfm.get.room.currentMap == "@7277839" and unlocked == true then
- active=-2
- tfm.exec.setGameTime(8000)
- else
- if passado > 3000 and unlocked == true then
- tfm.exec.newGame("@7277839")
- tfm.exec.setGameTime(8000)
- tfm.exec.chatMessage("<R>"..text.mices.."",nil)
- end
- end
- end
- if rato >= 4 then
- if tfm.get.room.currentMap == "@7277839" and unlocked == true then
- tfm.exec.newGame(mapas[math.random(#mapas)])
- active=0
- end
- end
- if active < 0 and faltando < 1 and unlocked == true then
- tfm.exec.newGame(mapas[math.random(#mapas)])
- end
- if active == 0 and faltando < 1000 then
- if rodada < rodadas then
- sortearComandos()
- else
- active=-1
- tfm.exec.setGameTime(10)
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.giveCheese(true)
- tfm.exec.playerVictory(true)
- end
- end
- end
- if active > 0 and faltando < 1 and rato > 1 then
- if active == 19 then
- for name,player in pairs(tfm.get.room.playerList) do
- if tfm.get.room.playerList[name].isFacingRight == true then
- tfm.exec.killPlayer(name)
- end
- end
- end
- if active == 20 then
- for name,player in pairs(tfm.get.room.playerList) do
- if tfm.get.room.playerList[name].isFacingRight == false then
- tfm.exec.killPlayer(name)
- end
- end
- end
- if active == 21 or active == 33 or active == 34 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.y < 300 then
- tfm.exec.killPlayer(name)
- else
- if player.x < xpos-20 or player.x > xpos+100 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- end
- if active == 35 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.y < 300 then
- tfm.exec.killPlayer(name)
- else
- if player.x < xpos-20 or player.x > xpos+100 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- end
- if active == 22 or active == 36 or active == 37 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.x < xpos or player.x > xpos+80 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- if active == 23 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.x > xpos and player.x < xpos+80 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- if active == 24 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.y < ypos-10 or player.y > ypos+70 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- if active == 25 then
- for name,player in pairs(tfm.get.room.playerList) do
- if player.y > ypos-10 and player.y < ypos+70 then
- tfm.exec.killPlayer(name)
- end
- end
- end
- ui.removeTextArea(0,nil)
- ui.removeTextArea(1,nil)
- ui.removeTextArea(2,nil)
- active=0
- if rodada == 4 or rodada == 6 or rodada == 8 or rodada == 10 or rodada == 12 then
- dificuldade=dificuldade+1
- end
- for name,player in pairs(tfm.get.room.playerList) do
- data[name].key=0
- if data[name].c == 0 then
- tfm.exec.killPlayer(name)
- end
- end
- if vivo > 4 then
- tfm.exec.setGameTime(6-dificuldade)
- else
- tfm.exec.setGameTime(9-dificuldade)
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- if data[name] then
- if data[name].c == 1 then
- tfm.exec.setNameColor(name,0x00ff00)
- else
- tfm.exec.setNameColor(name,0xc2c2da)
- end
- end
- end
- end
- tfm.exec.newGame("@7277839")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement