--o Squid Game TFM Tribe Script by Wizardamani0#6277 o-- v 1.3 RealAdmin = "Wizardamani0#6277" -- Global Admin -->Please add you Name#0000 in 'Admins' Table to be an admin.<-- Admins = {"Wizardamani0#6277","Noooooooorr#0000","C4sper#4636"} -- Admins Chat Commands -- -- -- Click the red point in the right side -- -- !admin PlayerName#0000 -- !revive PlayerName#0000 --Or-- !revive all -- !message --Or-- !m -- !admins -- !commands -- !npc -- -- RealAdmin Chat Commands -- -- -- !CRM --<--- Change the room message (The message will shown in the Help list) -> You can use it to write the "prize" of the winner :D -- !unadmin PlayerName#0000 -- !admin PlayerName#0000 -- !revive PlayerName#0000 --Or-- !revive all -- !message --Or-- !m -- !admins -- !commands -- !npc -- ---------------------------- RoomAdminMessage = "Good Luck Everybody, ENJOY :D" RoomMessage = "\n•Welcome to •Squid-Game-TFM• For Funcorp•\n•Please open the help list from ?•\n" LangH = "\nWant to change the language?\nUse the commands:\n!en\n!ar" local translations = { ar = { help = "مساعدة", credits = "الائتمانات", howToPlay = "طريقة اللعب", note1 = "

ستلعب 6 ألعاب لتكون الفائز وآخر ناجٍ من بين جميع الفئران", note2 = "

عليك النجاة بالجولات الستة للفوز\nإن مت في أحد الجولات فلا يمكن أن تستعيد حياتك في المراحل القادمة، لكنك ستعيش لو فاز أحد و أنتهت الجولة، أو إذا أراد مدير الغرفة إنعاشك", adminNote = "رسالة من مدير الغرفة", game1 = "

ضوء أحمر / ضوء أخضر اركض عندما ترى الضوء الأخضر، توقف عندما ترى الضوء الأحمر :1-اللعبة", game2 = "

دالغونا/البسكوت حرك ابرتك دون لمس حواف البسكوتة:2-اللعبة", game3 = "

اضغط على الزر الصحيح في لوحة مفاتيحك بحسب ما يشير إليه السهم الوردي:3-اللعبة", game4 = "

انقر في أي مكان على الشاشة لتحريك كرتك ،حاول دخول الجحر بالكرة الخاصة بك للفوز:4-اللعبة", game5 = "

(البلاط الزجاج) حاول الوصول إلى الجانب الأيمن من الخريطة و ذلك حسب حظك:5-اللعبة", game6 = "

(اللعبة الأخيرة) لا تسقط:6-اللعبة", developedBy = "تمت برمجة السكربت من قبل:", thankYou = "شكرا لكم", specialThanks = "شكر خاص لأصدقائي:", eliminated = "تم إقصاء اللاعب" }, en = { help = "HELP", credits = "Credits", howToPlay = "How To Play", note1 = "you're gonna be playing 6 games to be the winner and the last survivor of all mice.", note2 = "you have to survive all the 6 games to win.\nif you die in one of the games you will not revive in next rounds but everyone will be revived if someone win the games, or if the admins want to.", adminNote = "Admin Note", game1 = "Game-1: *GreenLight/RedLight* Go after you see the green light,Stop after you see the red light.", game2 = "Game-2: *Dalgona* Move your needle and do not touch the corners.", game3 = "Game-3: *Tug-Of-War* Press the correct button in your keyboard in the direction indicated by the pink arrow.", game4 = "Game-4: *Marbles* click anywhere at the screen to move your marble,try to get your marble to the hole to win.", game5 = "Game-5: *The Glass Tile* It's all about your luck, try to get to the right side of the map.", game6 = "Game-6: *The Last Game* Don't fall off.", developedBy = "This Script has been developed by", thankYou = "Thank you", specialThanks = "Special thanks to my friends:", eliminated = "has been eliminated", } } TR = {} function translate(id, name) if TR[name] then if translations[TR[name]] then if translations[TR[name]][id] then return translations[TR[name]][id] else return translations["en"][id] end elseif translations["en"] then return translations["en"][id] else return "error" end end end print(RoomMessage..LangH) function eventResetVariables() -- MAP = 0 Light = 0 RLT = 0 GLT = 0 Cookie = 0 Xpower = 0 Ypower = 0 G1T = 0 G2T = 0 G3T = 0 G4T = 0 G5T = 0 G6T = 0 G7T = 0 G8T = 0 G1RT = 0 G2RT = 0 G3RT = 0 G4RT = 0 G5RT = 0 G6RT = 0 G7RT = 0 G8RT = 0 PNTO = 0 PNT = 1 G8ST3 = 0 G9A1X = 0 G9A2X = 0 G9A3X = 0 G9A4X = 0 G9A5X = 0 G9A6X = 0 G9A7X = 0 G9A8X = 0 G9A9X = 0 G9OTimer = 0 G9ATimes = 3 G9MaxTimer1 = 28 G9MaxTimer2 = 110 -- end eventResetVariables() MN = "TFM-Squid-Game" G1MN = "GreenLight / RedLight" G2MN = "Dalgona" G3MN = "Bonus-map The Flour is Toxic Gas" G4MN = "TUG Of WAR" G5MN = "Marbles" G6MN = "The Glass Tile" G7MN = "The-Last-Game" G8MN = "Bonus-map Acid Rain" G9MN = "Bonus-map Short Memory" dollimg = "187b3c5a84a.png" arrowimg1 = "187ecd1d117.png" arrowimg2 = "187ecd18387.png" ArrowImage = {} ShooteTime = {} LIFE = {} HP = {} NA = {} MT = {} LNA = {} RTeam = {} BTeam = {} function eventNewPlayer(name) TR[name] = tfm.get.room.playerList[name].language tfm.exec.chatMessage(RoomMessage..LangH,name) ui.addPopup(9, 0, RoomMessage..LangH, name, 200, 50, 400, true) ui.addTextArea(3000," ?",name,-5,20,40,40, 0xffffff, 0x000000,0,true) ui.addTextArea(-3,"","Wizardamani0#6277",785,15,20,25, 0xffffff, 0x000000,0,true) for p in next, Admins do ui.addTextArea(-3,"",Admins[p],785,15,20,25, 0xffffff, 0x000000,0,true) end HP[name] = 0 ShooteTime[name] = 0 LIFE[name] = 1 NA[name] = 0 LNA[name] = 0 MT[name] = 0 table.insert(RTeam,"LOL") table.insert(BTeam,"LOL") end for name in next, tfm.get.room.playerList do eventNewPlayer(name) LIFE[name] = 0 end function eventPlayerDied(name) if MAP == 7 then AliveMice = 0 for name in next, tfm.get.room.playerList do if ((tfm.get.room.playerList[name].isDead) == false) then AliveMice = AliveMice + 1 end end if AliveMice == 1 and G7RT >= 5 then for name in next, tfm.get.room.playerList do if ((tfm.get.room.playerList[name].isDead) == false) then Winner = name eventWinnerMap() end end end end tfm.exec.setPlayerScore(name, 0) if LIFE[name] == 0 then for n in next, tfm.get.room.playerList do print(name.." "..translate("eliminated", n)) tfm.exec.chatMessage(name.." "..translate("eliminated", n), n) end end LIFE[name] = 1 eventKillPlayers() end function eventKillPlayers() for name in next, tfm.get.room.playerList do if LIFE[name] == 1 then tfm.exec.killPlayer(name) tfm.exec.setPlayerScore(name, 0) end if LIFE[name] == 0 then tfm.exec.setPlayerScore(name, 1) if (MAP == 1 and G1RT > 10) or(MAP == 6) or(MAP == 0) or(MAP == 8 and G8RT > 10) or(MAP == 9) then tfm.exec.respawnPlayer(name) end end end end-- @end function eventNewGame() ui.addTextArea(-3,"","Wizardamani0#6277",785,15,20,25, 0xffffff, 0x000000,0,true) for p in next, Admins do ui.addTextArea(-3,"",Admins[p],785,15,20,25, 0xffffff, 0x000000,0,true) end eventKillPlayers() if MAP == -1 then tfm.exec.movePlayer(Winner,400,200) end end function eventClearUI()--@ECUI q = -1000 for i=1, 2000 do ui.removeTextArea(q) q = q + 1 end ui.addTextArea(-3,"","Wizardamani0#6277",785,15,20,25, 0xffffff, 0x000000,0,true) end--@end function eventHUB() tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoNewGame(true) tfm.exec.disablePhysicalConsumables(true) tfm.exec.disableDebugCommand(true) tfm.exec.disableMortCommand(true) tfm.exec.disableAutoScore(true) tfm.exec.newGame([[

]]) for name in next, tfm.get.room.playerList do tfm.exec.changePlayerSize(name, 1) tfm.exec.setNameColor(name,0x15958F) end tfm.exec.setUIMapName(MN) eventKillPlayers() eventClearUI() for p in next, Admins do tfm.exec.setNameColor(Admins[p],0xFEB1FC) tfm.exec.movePlayer(Admins[p], 2300, 4850,false) ui.addTextArea(-3,"",Admins[p],785,15,20,25, 0xffffff, 0x000000,0,true) end ui.addTextArea(-3,"","Wizardamani0#6277",785,15,20,25, 0xffffff, 0x000000,0,true) tfm.exec.setNameColor("Wizardamani0#6277",0x000001) tfm.exec.setNameColor(RealAdmin,0xFF8547) end--* eventHUB() function eventG5PlayersNumber()--@G5PATW G5Players = 0 G5PE = 0 G5PC = 1 for name in next, tfm.get.room.playerList do if ((tfm.get.room.playerList[name].isDead) == false) then G5Players = G5Players + 1 end if G5Players == 2 then G5PC = G5PC + 1 G5Players = 0 end end tfm.exec.setUIMapName(MN.." "..G5MN.." Mice Winners: "..G5PE.."/"..G5PC) print(G5PC) end--@end function eventPlayerWon(name) if MAP == 5 then G5PE = G5PE + 1 tfm.exec.setUIMapName(MN.." "..G5MN.." Mice Winners: "..G5PE.."/"..G5PC) if G5PC == G5PE then G5RT = 2 tfm.exec.setGameTime(5) end end end function eventWinnerMap() MAP = -1 tfm.exec.newGame([[@7931537]]) tfm.exec.setGameTime(13) tfm.exec.setUIMapName(MN.." The Winner is "..Winner) tfm.exec.movePlayer(Winner,400,200) ui.removeTextArea(0) end function eventTextAreaCallback(id, name, event) if event=="AdminM" then ui.removeTextArea(id,name) end if event=="HL" then --ui.addTextArea(3000," X",name,-5,20,40,40, 0xffffff, 0x000000,0,true) ui.addTextArea(3000,"

",name,-20,-20,900,420, 0x000001, 0x000001,0.5, true) ui.addTextArea(3001,"

",name,149,59,500,300, 0xffffff, 0xffffff,1, true) ui.addTextArea(3002,"

",name,152,62,500,300, 0x000001, 0x000001,1, true) ui.addTextArea(2997,"

",name,644,59,50,35, 0xffffff, 0xffffff,1, true) ui.addTextArea(2998,"

",name,647,62,50,35, 0x000001, 0x000001,1, true) ui.addTextArea(2999," X",name,645,60,50,35, 0x324650, 0x324650,1,true) ui.addTextArea(3003,"

",name,150,60,500,300, 0x324650, 0x324650,1, true) ui.addTextArea(3004,"

",name,194,79,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3005,"

",name,196,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3006,"

".. translate("help", name),name,195,80,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3007,"

",name,502,77,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3008,"

",name,506,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3009,"

".. translate("credits", name),name,503,78,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3010,"

",name,327,77,140,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3011,"

",name,331,81,140,30, 0x000001, 0x000001,1, true) ui.addTextArea(3012,"

".. translate("howToPlay", name),name,328,78,140,30, 0x324650, 0x324650,1, true) ui.addTextArea(3020,"

• ".. translate("help", name) .." •",name,160,140,480,210, 0x40687C, 0x2F5162,1, true) ui.addTextArea(3021,"".. translate("note1", name) ,name,160,170,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3022,"".. translate("note2", name) ,name,160,200,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3023,"

• "..translate("adminNote", name).." •",name,160,250,480,50, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3024,"

"..RoomAdminMessage,name,160,280,480,100, 0x40687C, 0x2F5162,0, true) end if event=="HL1" then q = 3020 for i=1, 20 do ui.removeTextArea(q,name) q = q + 1 end ui.addTextArea(3004,"

",name,194,79,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3005,"

",name,196,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3006,"

".. translate("help", name) ,name,195,80,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3007,"

",name,502,77,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3008,"

",name,506,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3009,"

"..translate("credits", name),name,503,78,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3010,"

",name,327,77,140,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3011,"

",name,331,81,140,30, 0x000001, 0x000001,1, true) ui.addTextArea(3012,"

".. translate("howToPlay", name),name,328,78,140,30, 0x324650, 0x324650,1, true) ui.addTextArea(3020,"

• "..translate("help", name).." •",name,160,140,480,210, 0x40687C, 0x2F5162,1, true) ui.addTextArea(3021,"".. translate("note1", name) ,name,160,170,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3022,"".. translate("note2", name),name,160,200,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3023,"

• "..translate("adminNote", name).." •",name,160,250,480,50, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3024,"

"..RoomAdminMessage ,name,160,280,480,100, 0x40687C, 0x2F5162,0, true) end if event=="HL2" then q = 3020 for i=1, 20 do ui.removeTextArea(q,name) q = q + 1 end ui.addTextArea(3004,"

",name,194,77,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3005,"

",name,196,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3006,"

"..translate("help", name),name,195,78,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3007,"

",name,502,77,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3008,"

",name,506,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3009,"

"..translate("credits", name),name,503,78,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3010,"

",name,329,79,140,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3011,"

",name,331,81,140,30, 0x000001, 0x000001,1, true) ui.addTextArea(3012,"

" .. translate("howToPlay", name),name,330,80,140,30, 0x324650, 0x324650,1, true) ui.addTextArea(3020,"

• "..translate("howToPlay", name).." •",name,160,140,480,210, 0x40687C, 0x2F5162,1, true) ui.addTextArea(3021, translate("game1", name), name,160,170,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3022, translate("game2", name), name,160,200,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3023, translate("game3", name), name,160,215,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3024, translate("game4", name), name,160,245,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3025, translate("game5", name), name,160,275,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3026, translate("game6", name), name,160,305,480,60, 0x40687C, 0x2F5162,0, true) end if event=="HL3" then q = 3020 for i=1, 20 do ui.removeTextArea(q,name) q = q + 1 end ui.addTextArea(3004,"

",name,194,77,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3005,"

",name,196,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3006,"

"..translate("help", name),name,195,78,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3007,"

",name,504,79,100,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3008,"

",name,506,81,100,30, 0x000001, 0x000001,1, true) ui.addTextArea(3009,"

"..translate("credits", name),name,505,80,100,30, 0x324650, 0x324650,1, true) ui.addTextArea(3010,"

",name,327,77,140,30, 0xffffff, 0xffffff,1, true) ui.addTextArea(3011,"

",name,331,81,140,30, 0x000001, 0x000001,1, true) ui.addTextArea(3012,"

" .. translate("howToPlay", name),name,328,78,140,30, 0x324650, 0x324650,1, true) ui.addTextArea(3020,"

• ".. translate("credits", name) .." •",name,160,140,480,210, 0x40687C, 0x2F5162,1, true) ui.addTextArea(3021,"

"..translate("developedBy", name).." Wizardamani0#6277",name,160,170,480,60, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3022,"

• "..translate("thankYou", name).." •",name,160,200,480,50, 0x40687C, 0x2F5162,0, true) ui.addTextArea(3023,"

"..translate("specialThanks", name).."\nNoooooooorr#0000 , Nnaaaz#0000 , Hufdasr#0000 , Indexinel#5948 , C4sper#4636 , Maos#0420",name,160,230,480,100, 0x40687C, 0x2F5162,0, true) end if event=="CHL" then q = 2500 for i=1, 1000 do ui.removeTextArea(q,name) q = q + 1 end ui.addTextArea(3000," ?",name,-5,20,40,40, 0xffffff, 0x000000,0,true) end if event=="AL" then ui.addTextArea(-3,"",name,785,15,20,25, 0xffffff, 0x000000,0,true) --ui.addTextArea(-2,"

Revive ALL",name,655,45,75,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(-1,"

Go Lobby",name,675,42,120,20, 0xffffff, 0x000001,0.8,true) ui.addTextArea(1,"

Game-1",name,740,70,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(2,"

Game-2",name,740,95,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(4,"

Game-3",name,740,120,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(5,"

Game-4",name,740,145,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(6,"

Game-5",name,740,170,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(7,"

Game-6",name,740,195,55,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(3,"

Bonus-1",name,675,70,57,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(8,"

Bonus-2",name,675,95,57,18, 0xffffff, 0x000001,0.8,true) ui.addTextArea(9,"

Bonus-3",name,675,120,57,18, 0xffffff, 0x000001,0.8,true) end if event=="cAL" then ui.addTextArea(-3,"",name,785,15,20,25, 0xffffff, 0x000000,0,true) ui.removeTextArea(-2) ui.removeTextArea(-1) ui.removeTextArea(1) ui.removeTextArea(2) ui.removeTextArea(3) ui.removeTextArea(4) ui.removeTextArea(5) ui.removeTextArea(6) ui.removeTextArea(7) ui.removeTextArea(8) ui.removeTextArea(9) end if event=="R" then for name in next, tfm.get.room.playerList do LIFE[name] = 0 end eventKillPlayers() end if event=="R1" then eventHUB() eventResetVariables() end if event=="G1" and MAP == 0 then eventClearUI() G1RT = 90 tfm.exec.newGame([[

]]) MAP = 1 G1Doll = tfm.exec.addImage(dollimg,"!100",2610,233,nil,1) tfm.exec.setUIMapName(MN.." "..G1MN) for name in next, tfm.get.room.playerList do tfm.exec.changePlayerSize(name, 1) end end if event=="G2" and MAP == 0 then eventClearUI() G2RT = 80 tfm.exec.newGame([[

]]) MAP = 2 for name in next, tfm.get.room.playerList do tfm.exec.changePlayerSize(name, 0.3) tfm.exec.freezePlayer(name, true, false) tfm.exec.addImage("1866f09c620.png","%"..name,-5,3,name,1,1,0,1,0.1,0.9) tfm.exec.addImage("1866f0a12c2.png","%"..name,0,0,nil,1,1,0,0.2,0.5,0.5) system.bindKeyboard(name, 0, true, true) system.bindKeyboard(name, 1, true, true) system.bindKeyboard(name, 2, true, true) system.bindKeyboard(name, 3, true, true) Cookie = math.random(1,6) if Cookie <= 3 then tfm.exec.movePlayer(name, 140, 125,false) end if Cookie == 4 then tfm.exec.movePlayer(name, 660, 115,false) end if Cookie >= 5 then tfm.exec.movePlayer(name, 400, 115,false) end end tfm.exec.setUIMapName(MN.." "..G2MN) end if event=="G3" and MAP == 0 then eventClearUI() G3RT = 125 tfm.exec.newGame([[

]]) MAP = 3 for name in next, tfm.get.room.playerList do tfm.exec.changePlayerSize(name, 1) HP[name] = 20 end ui.addTextArea(997,"

",nil,5,20,200,20, 0x000001, 0x000001,0.5,true) ui.addTextArea(998,"

",nil,5,20,200,20, 0x00FF00, 0x00FF00,0.5,true) GAS = 0 tfm.exec.setUIMapName(MN.." "..G3MN) end if event=="G4" and MAP == 0 then eventClearUI() G4RT = 0 G4PT = 6 G4PF = 10 tfm.exec.newGame([[

]]) for name in next, tfm.get.room.playerList do system.bindKeyboard(name, 0, true, true) system.bindKeyboard(name, 1, true, true) system.bindKeyboard(name, 2, true, true) system.bindKeyboard(name, 3, true, true) tfm.exec.freezePlayer(name, true, false) tfm.exec.changePlayerSize(name, 1) NA[name] = 0 MT[name] = 0 end MAP = 4 eventKillPlayers() eventResetTables() tfm.exec.setUIMapName(MN.." "..G4MN) end if event=="G5" and MAP == 0 then eventClearUI() G5RT = 483 tfm.exec.newGame([[

]]) MAP = 5 eventKillPlayers() ui.addTextArea(51,"

",nil,800,-1000,2800,2800, 0x000001, 0x000001,1, true) ui.addTextArea(52,"

",nil,-1000,-1000,1000,2800, 0x000001, 0x000001,1, true) ui.addTextArea(53,"

",nil,0,-1000,2800,1022, 0x000001, 0x000001,1, true) ui.addTextArea(54,"

",nil,0,400,1000,2800, 0x000001, 0x000001,1, true) for name in next, tfm.get.room.playerList do tfm.exec.addImage("187b1d9e92a.png","%"..name,-10,-10,name) tfm.exec.addImage("187b1d9e92a.png","%"..name,-10,-10,nil,1,1,0,0.2) system.bindMouse(name, true) tfm.exec.freezePlayer(name, true, false) tfm.exec.changePlayerSize(name, 0.6) end eventG5PlayersNumber() end if event=="G6" and MAP == 0 then G6RT = 175 eventClearUI() G6Map = math.random(1,3) if G6Map == 1 then tfm.exec.newGame([[

]]) end if G6Map == 2 then tfm.exec.newGame([[

]]) end if G6Map == 3 then tfm.exec.newGame([[

]]) end MAP = 6 tfm.exec.setUIMapName(MN.." "..G6MN) for name in next, tfm.get.room.playerList do system.bindMouse(name, false) tfm.exec.changePlayerSize(name, 1) end tfm.exec.addImage("187b3c57947.png","!100",1610,200,nil,-1) end if event=="G7" and MAP == 0 then eventClearUI() G7RT = 0 tfm.exec.newGame([[@7931588]]) MAP = 7 eventKillPlayers() tfm.exec.setUIMapName(MN.." "..G7MN) for name in next, tfm.get.room.playerList do tfm.exec.giveMeep(name, true) tfm.exec.changePlayerSize(name, 1) end end if event=="G8" and MAP == 0 then eventClearUI() tfm.exec.newGame([[

]]) G8RT = 55 G8ST3 = 0 MAP = 8 eventKillPlayers() tfm.exec.setUIMapName(MN.." "..G8MN) end if event=="G9" and MAP == 0 then eventClearUI() tfm.exec.newGame([[

]]) MAP = 9 eventKillPlayers() tfm.exec.setUIMapName(MN.." "..G9MN) end end--o function eventResetTables() for name in next, tfm.get.room.playerList do table.remove(RTeam) table.remove(BTeam) end for name in next, tfm.get.room.playerList do if tfm.get.room.playerList[name].isDead == false then PNTO = 1 if PNT == 1 and PNTO == 1 then table.insert(RTeam,name) tfm.exec.setNameColor(name,0xff0000) tfm.exec.movePlayer(name,math.random(120,200),260) PNTO = 0 PNT = 2 end if PNT == 2 and PNTO == 1 then table.insert(BTeam,name) tfm.exec.setNameColor(name,0x0000ff) tfm.exec.movePlayer(name,math.random(600,680),260) PNTO = 0 PNT = 1 end end end end--o function eventMouse(name, xP, yP)--o if MAP == 5 and tfm.get.room.playerList[name].vx == 0 and tfm.get.room.playerList[name].vy == 0 and ShooteTime[name] <= 0 then Xpower = (xP - tfm.get.room.playerList[name].x) Ypower = (yP - tfm.get.room.playerList[name].y) tfm.exec.movePlayer(name,0,0,true,Xpower,Ypower) ShooteTime[name] = 6 ui.addTextArea(51,"

",name,800,-1000,2800,2800, 0x000001, 0x000001,1, true) ui.addTextArea(52,"

",name,-1000,-1000,1000,2800, 0x000001, 0x000001,1, true) ui.addTextArea(53,"

",name,0,-1000,2800,1022, 0x000001, 0x000001,1, true) ui.addTextArea(54,"

",name,0,400,1000,2800, 0x000001, 0x000001,1, true) end end --o function eventArrowShoot(X)--o q = 70 for i=1, 16 do tfm.exec.addShamanObject(10, X + q, -200) q = q + 50 end q = -70 for i=1, 16 do tfm.exec.addShamanObject(10, X + q, -200) q = q - 50 end end--o function eventLoop()--o if MAP == 9 then G9OTimer = G9OTimer + 1 if G9OTimer == 10 then tfm.exec.setGameTime((G9MaxTimer1 / 2) - 5) tfm.exec.setUIMapName(MN.." "..G9MN.." LVL: "..(G9ATimes - 2)) G9A1X = math.random(40,760) tfm.exec.addShamanObject(0, G9A1X, 250) end if G9OTimer == 14 then G9A2X = math.random(40,760) tfm.exec.addShamanObject(0, G9A2X, 250) end if G9OTimer == 18 then G9A3X = math.random(40,760) tfm.exec.addShamanObject(0, G9A3X, 250) end if G9OTimer == 22 and G9ATimes >= 4 then G9A4X = math.random(40,760) tfm.exec.addShamanObject(0, G9A4X, 250) end if G9OTimer == 26 and G9ATimes >= 5 then G9A5X = math.random(40,760) tfm.exec.addShamanObject(0, G9A5X, 250) end if G9OTimer == 30 and G9ATimes >= 6 then G9A6X = math.random(40,760) tfm.exec.addShamanObject(0, G9A6X, 250) end if G9OTimer == 34 and G9ATimes >= 7 then G9A7X = math.random(40,760) tfm.exec.addShamanObject(0, G9A7X, 250) end if G9OTimer == 38 and G9ATimes >= 8 then G9A8X = math.random(40,760) tfm.exec.addShamanObject(0, G9A8X, 250) end if G9OTimer == 42 and G9ATimes >= 9 then G9A9X = math.random(40,760) tfm.exec.addShamanObject(0, G9A9X, 250) end --- if G9OTimer == G9MaxTimer1 then G9OTimer = 60 end if G9OTimer == G9MaxTimer2 then G9OTimer = 0 G9ATimes = G9ATimes + 1 G9MaxTimer1 = G9MaxTimer1 + 4 G9MaxTimer2 = G9MaxTimer2 + 15 tfm.exec.setUIMapName(MN.." "..G9MN.." LVL: "..(G9ATimes - 2)) tfm.exec.setGameTime(G9MaxTimer1 / 2) end --- if G9OTimer == 70 then eventArrowShoot(G9A1X) tfm.exec.setGameTime(8) end if G9OTimer == 85 then eventArrowShoot(G9A2X) tfm.exec.setGameTime(8) end if G9OTimer == 100 then eventArrowShoot(G9A3X) tfm.exec.setGameTime(8) end if G9OTimer == 115 and G9ATimes >= 4 then eventArrowShoot(G9A4X) tfm.exec.setGameTime(8) end if G9OTimer == 130 and G9ATimes >= 5 then eventArrowShoot(G9A5X) tfm.exec.setGameTime(8) end if G9OTimer == 145 and G9ATimes >= 6 then eventArrowShoot(G9A6X) tfm.exec.setGameTime(8) end if G9OTimer == 160 and G9ATimes >= 7 then eventArrowShoot(G9A7X) tfm.exec.setGameTime(8) end if G9OTimer == 175 and G9ATimes >= 8 then eventArrowShoot(G9A8X) tfm.exec.setGameTime(8) end if G9OTimer == 190 and G9ATimes >= 9 then eventArrowShoot(G9A9X) tfm.exec.setGameTime(8) end if G9OTimer == 194 and G9ATimes >= 10 then for name in next, tfm.get.room.playerList do tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end if G9OTimer == 198 and G9ATimes >= 10 then eventHUB() eventResetVariables() end end if MAP == 5 then for name in next, tfm.get.room.playerList do ShooteTime[name] = ShooteTime[name] - 1 if ShooteTime[name] <= 0 and tfm.get.room.playerList[name].vx == 0 and tfm.get.room.playerList[name].vy == 0 then ui.addTextArea(51,"

",name,800,-1000,2800,2800, 0x00ff01, 0x00ff01,1, true) ui.addTextArea(52,"

",name,-1000,-1000,1000,2800, 0x00ff01, 0x00ff01,1, true) ui.addTextArea(53,"

",name,0,-1000,2800,1022, 0x00ff01, 0x00ff01,1, true) ui.addTextArea(54,"

",name,0,400,1000,2800, 0x00ff01, 0x00ff01,1, true) end end end if MAP == 1 then if G1RT >= 80 then eventKillPlayers() tfm.exec.setGameTime(85) end G1T = G1T + 1 if G1T > 1 then G1RT = G1RT - 1 G1T = 0 end if G1RT >= 0 then ui.addTextArea(0,"

"..(G1RT).."",name,370,18,60,25, 0x000001, 0x000001,1, true) end if G1RT < 0 then for name in next, tfm.get.room.playerList do if tfm.get.room.playerList[name].x < 2600 then tfm.exec.killPlayer(name) end if tfm.get.room.playerList[name].x > 2600 then tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end if G1RT < -3 then eventHUB() eventResetVariables() end end if Light == 0 then if RLT < 17 then ui.removeTextArea(999) end RLT = RLT + 1 end if Light == 1 then GLT = GLT + 1 end end if Light == 0 then if RLT == 18 then ui.addTextArea(999,"

",nil,-10,-10,1000,1000, 0xff0000, 0xff0000,0.5,true,false) end if RLT == 19 then tfm.exec.removeImage(G1Doll) G1Doll = tfm.exec.addImage(dollimg,"!100",2780,233,nil,-1) ui.removeTextArea(999) end if RLT >= 20 then ui.removeTextArea(999) GLT = math.random(0,6) Light = 1 end end if Light == 1 then if GLT == 10 then RLT = math.random(8,16) Light = 0 tfm.exec.removeImage(G1Doll) G1Doll = tfm.exec.addImage(dollimg,"!100",2610,233,nil,1) ui.addTextArea(999,"

",nil,-10,-10,1000,1000, 0x00FF00, 0x00FF00,0.5,true,false) end for name in next, tfm.get.room.playerList do -- if tfm.get.room.playerList[name].x < 2600 and tfm.get.room.playerList[name].x > 200 then if tfm.get.room.playerList[name].movingRight == true then tfm.exec.killPlayer(name) end if tfm.get.room.playerList[name].movingLeft == true then tfm.exec.killPlayer(name) end if tfm.get.room.playerList[name].isJumping == true then tfm.exec.killPlayer(name) end end -- end end if MAP == 2 then if G2RT >= 70 then eventKillPlayers() tfm.exec.setGameTime(75) end G2T = G2T + 1 if G2T > 1 then G2RT = G2RT - 1 G2T = 0 end if G2RT >= 0 then ui.addTextArea(0,"

"..(G2RT).."",name,370,18,60,25, 0x000001, 0x000001,1, true) end if G2RT < 0 then for name in next, tfm.get.room.playerList do tfm.exec.killPlayer(name) end end if G2RT < -3 then eventHUB() eventResetVariables() end end if MAP == 3 then if G3RT >= 120 then eventKillPlayers() tfm.exec.setGameTime(130) end G3T = G3T + 1 if G3T > 1 then G3RT = G3RT - 1 G3T = 0 end if G3RT >= 0 then ui.addTextArea(0,"

"..(G3RT).."", name, 370,18,60,25, 0x000001, 0x000001,1, true) end if G3RT <= 1 then for name in next, tfm.get.room.playerList do tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end if G3RT < -3 then ui.removeTextArea(997) ui.removeTextArea(998) eventHUB() eventResetVariables() end GAS = GAS + 1 if GAS == 5 then box1 = tfm.exec.addShamanObject(1,2240,840) end if GAS >= 10 and GAS <= 230 then for name in next, tfm.get.room.playerList do -- if tfm.get.room.playerList[name].isDead == false then if tfm.get.room.playerList[name].y > (tfm.get.room.objectList[box1].y) and HP[name] >= 0 then HP[name] = HP[name] - 1 ui.addTextArea(997,"

",name,5,20,200,20, 0x000001, 0x000001,0.5,true) ui.addTextArea(998,"

",name,5,20,HP[name]*10,20, 0x00FF00, 0x00FF00,0.5,true) end if HP[name] <= 0 then tfm.exec.killPlayer(name) ui.removeTextArea(997,name) ui.removeTextArea(998,name) end end -- end end end if MAP == 4 then if G4RT <= 5 and G4RT > 1 then eventKillPlayers() tfm.exec.setGameTime(0) end if G4RT == 50 then G4PT = 10 G4PF = 16 end if G4RT == 100 then G4PT = 14 G4PF = 20 end if G4RT == 200 then G4PT = 18 G4PF = 30 end G4T = G4T + 1 if G4T > 1 then G4RT = G4RT + 1 G4T = 0 end if G4RT >= 0 then ui.addTextArea(0,"

"..(G4RT).."",name,370,90,60,25, 0xffffff, 0x000001,1, true) end if G4RT > -10 and G4RT < 0 then for name in next, tfm.get.room.playerList do tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end if G4RT > -3 and G4RT < 0 then eventHUB() eventResetVariables() end RTeamN = 0 BTeamN = 0 p = 0 for i=1, 100 do if LIFE[RTeam[p]] == 0 then RTeamN = RTeamN + 1 end if LIFE[BTeam[p]] == 0 then BTeamN = BTeamN + 1 end p = p + 1 end if BTeamN == 0 and G4RT > 10 then for name in next, tfm.get.room.playerList do tfm.exec.movePlayer(name,math.random(120,200),260) end G4RT = -12 end if RTeamN == 0 and G4RT > 10 then for name in next, tfm.get.room.playerList do tfm.exec.movePlayer(name,math.random(600,680),260) end G4RT = -12 end for name in next, tfm.get.room.playerList do MT[name] = MT[name] + 1 if MT[name] == G4PT then eventArrow(name) end end end if MAP == 5 then if G5RT >= 419 then eventKillPlayers() tfm.exec.setGameTime(445) end if G5RT == 20 then tfm.exec.setGameTime(22) end if G5RT == 0 then for name in next, tfm.get.room.playerList do tfm.exec.killPlayer(name) end end G5T = G5T + 1 if G5T > 1 then G5RT = G5RT - 1 G5T = 0 end if G5RT < -3 then eventHUB() eventResetVariables() end end if MAP == 6 then if G6RT >= 0 then ui.addTextArea(0,"

"..(G6RT).."",name,370,18,60,25, 0xffffff, 0x000001,1, true) end if G6RT >= 170 then eventKillPlayers() tfm.exec.setGameTime(185) end if G6RT == 20 then tfm.exec.setGameTime(22) end if G6RT == 0 then for name in next, tfm.get.room.playerList do tfm.exec.killPlayer(name) end end G6T = G6T + 1 if G6T > 1 then G6RT = G6RT - 1 G6T = 0 end if G6RT < -3 then eventHUB() eventResetVariables() end end if MAP == 7 then tfm.exec.setGameTime(G7RT + 2) if G7RT <= 5 and G7RT > 1 then eventKillPlayers() tfm.exec.setGameTime(0) end if G7RT == 6 then eventPlayerDied("WIZ") end if G7RT == 140 then for name in next, tfm.get.room.playerList do tfm.exec.setWorldGravity(0, 14) end end if G7RT == 180 then for name in next, tfm.get.room.playerList do tfm.exec.setWorldGravity(0, 18) end end G7T = G7T + 1 if G7T > 1 then G7RT = G7RT + 1 G7T = 0 end if G7RT >= 0 then ui.addTextArea(0,"

"..(G7RT).."",name,370,18,60,25, 0xffffff, 0x000001,1, true) end if G7RT > -10 and G7RT < 0 then for name in next, tfm.get.room.playerList do tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end if G7RT > -3 and G7RT < 0 then eventHUB() eventResetVariables() end end if MAP == 8 then G8ST3 = G8ST3 + 9 tfm.exec.addPhysicObject(G8ST3, (math.random(1800,2580)), -40, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 1, (math.random(1800,2580)), -80, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 2, (math.random(1800,2580)), -120, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0, groundCollision = false, miceCollision = true}) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +1,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +2,-5,-10) tfm.exec.addPhysicObject(G8ST3 + 3, (math.random(1000,1800)), -40, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.5, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 4, (math.random(1000,1800)), -80, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.5, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 5, (math.random(1000,1800)), -120, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.5, groundCollision = false, miceCollision = true}) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +3,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +4,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +5,-5,-10) tfm.exec.addPhysicObject(G8ST3 + 6, (math.random(220,1000)), -40, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.8, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 7, (math.random(220,1000)), -80, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.8, groundCollision = false, miceCollision = true}) tfm.exec.addPhysicObject(G8ST3 + 8, (math.random(220,1000)), -120, {type = 19, restitution = 0, friction = 0, width = 10, height = 20, dynamic = true, mass = 9999, fixedRotation = true, angularDamping = 0.8, groundCollision = false, miceCollision = true}) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +6,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +7,-5,-10) tfm.exec.addImage("1855a945ec1.png","+"..G8ST3 +8,-5,-10) if G8RT >= 0 then ui.addTextArea(0,"

"..(G8RT).."",name,370,18,60,25, 0xffffff, 0x000001,1, true) end if G8RT >= 50 then eventKillPlayers() tfm.exec.setGameTime(54) end if G8RT == 20 then tfm.exec.setGameTime(22) end if G8RT == 0 then for name in next, tfm.get.room.playerList do if tfm.get.room.playerList[name].x < 2600 then tfm.exec.killPlayer(name) end if tfm.get.room.playerList[name].x > 2600 then tfm.exec.giveCheese(name) tfm.exec.playerVictory(name) end end end G8T = G8T + 1 if G8T > 1 then G8RT = G8RT - 1 G8T = 0 end if G8RT < -3 then eventHUB() eventResetVariables() end end end--o table.insert(Admins,"Wizardamani0#6277") function eventArrow(name) NA[name] = math.random(0,3) if LNA[name] == NA[name] then eventArrow(name) end if NA[name] == 0 then tfm.exec.removeImage(ArrowImage[name]) ArrowImage[name] = tfm.exec.addImage(arrowimg1,"!1",382,45,name) end if NA[name] == 2 then tfm.exec.removeImage(ArrowImage[name]) ArrowImage[name] = tfm.exec.addImage(arrowimg1,"!1",418,45,name,-1) end if NA[name] == 3 then tfm.exec.removeImage(ArrowImage[name]) ArrowImage[name] = tfm.exec.addImage(arrowimg2,"!1",385,42,name) --tfm.exec.addImage(imageId, target, xPosition, yPosition, targetPlayer, scaleX, scaleY, rotation, alpha, anchorX, anchorY, fadeIn) end if NA[name] == 1 then tfm.exec.removeImage(ArrowImage[name]) ArrowImage[name] = tfm.exec.addImage(arrowimg2,"!1",385,78,name,1,-1) end end-- function eventKeyboard(name, key, down, x, y) if MAP == 2 then if key == 0 then tfm.exec.movePlayer(name, -2, 0,true) end if key == 2 then tfm.exec.movePlayer(name, 2, 0,true) end if key == 3 then tfm.exec.movePlayer(name, 0, 2,true) end if key == 1 then tfm.exec.movePlayer(name, 0, -2,true) end end if MAP == 4 and LIFE[name] == 0 then if key ~= NA[name] and MT[name] > 6 then tfm.exec.removeImage(ArrowImage[name]) ui.removeTextArea(-50,name) MT[name] = 0 end if key == NA[name] and MT[name] > 6 then LNA[name] = NA[name] if tfm.get.room.playerList[name].x < 400 then for name in next, tfm.get.room.playerList do tfm.exec.movePlayer(name, -(G4PF / BTeamN), 0,true) end tfm.exec.movePhysicObject(1, -(G4PF / BTeamN), 0,true) tfm.exec.movePhysicObject(2, -(G4PF / BTeamN), 0,true) end if tfm.get.room.playerList[name].x > 400 then for name in next, tfm.get.room.playerList do tfm.exec.movePlayer(name, G4PF / RTeamN, 0,true) end tfm.exec.movePhysicObject(1, (G4PF / RTeamN), 0,true) tfm.exec.movePhysicObject(2, (G4PF / RTeamN), 0,true) end eventArrow(name) end end end--o function eventContactListener(name, groundId, contactInfos) if MAP == 6 then tfm.exec.killPlayer(name) tfm.exec.removePhysicObject(groundId) tfm.exec.playSound("cite18/verre.mp3", 100) end if MAP == 2 then if groundId <= 101 then tfm.exec.movePlayer(name, 155, 144,false) end if groundId >= 102 and groundId <= 103 then tfm.exec.movePlayer(name, 410, 115,false) end if groundId >= 104 then tfm.exec.movePlayer(name, 671, 128,false) end end end--o for _,cmd in next,{"ar","en","es","fr","br","commands", "admins", "CRM", "message", "m", "revive","admin", "unadmin", "npc"} do system.disableChatCommandDisplay(cmd,true) end function eventChatCommand(CCname, mes)--o if mes == "admins" then end Admin = 0 for p in next, Admins do if (CCname == Admins[p]) or (CCname == RealAdmin) then Admin = 1 end end if Admin == 1 then local cmd, u = {}, 1 for i in string.gmatch(mes, "%S+") do cmd[u] = i u = u + 1 end if cmd[1] == "admin" and cmd[2] then for name in next, tfm.get.room.playerList do if name == cmd[2] then table.insert(Admins,cmd[2]) for p in next, Admins do tfm.exec.chatMessage("["..CCname.."] > ["..cmd[2].." is now an admin]", Admins[p]) end print("["..CCname.."] > ["..cmd[2].." is now an admin]") end end end if cmd[1] == "ar" then TR[CCname] = "ar" end if cmd[1] == "en" then TR[CCname] = "en" end if cmd[1] == "es" then TR[CCname] = "es" end if cmd[1] == "fr" then TR[CCname] = "fr" end if cmd[1] == "br" then TR[CCname] = "br" end if cmd[1] == "commands" then ui.addPopup(9, 0, "!admin PlayerName#0000\n!revive PlayerName#0000\n!message\n!m\n!admins\n!commands\n!npc", name, 200, 50, 400, true) end if cmd[1] == "npc" and not(MAP == 5) then tfm.exec.addNPC(CCname, { title = (tfm.get.room.playerList[CCname].title), x = (tfm.get.room.playerList[CCname].x), y = (tfm.get.room.playerList[CCname].y), look = (tfm.get.room.playerList[CCname].look), female = (tfm.get.room.playerList[CCname].gender), lookAtPlayer = true}) end if cmd[1] == "message" then ui.addTextArea(999999,"

[•] ".. mes:sub(9).."",nil,-5,378,810,25, 0x000001, 0xffffff,0.8,true) elseif cmd[1] == "m" then ui.addTextArea(999999,"

[•] ["..CCname.."] ".. mes:sub(3).."",nil,-5,378,810,25, 0x000001, 0xffffff,0.8,true) end if cmd[1] == "CRM" and CCname == RealAdmin then ui.addPopup(2,2," Write the Room Message.",CCname,5,20,200,true) end if cmd[1] == "revive" and cmd[2] and not(MAP == 7) then for name in next, tfm.get.room.playerList do if name == cmd[2] then LIFE[cmd[2]] = 0 eventKillPlayers() for p in next, Admins do tfm.exec.chatMessage("["..CCname.."] > [revive "..cmd[2].."]", Admins[p]) end print("["..CCname.."] > [revive "..cmd[2].."]") end end end if cmd[1] == "revive" and cmd[2] == "all" and not(MAP == 7) then for name in next, tfm.get.room.playerList do LIFE[name] = 0 end for p in next, Admins do tfm.exec.chatMessage("["..CCname.."] > [revive ALL]", Admins[p]) end print("["..CCname.."] > [revive ALL]") eventKillPlayers() end if cmd[1] == "unadmin" and cmd[2] and CCname == RealAdmin then o = 0 for i=1, 100 do o = o + 1 if cmd[2] == Admins[o] then for p in next, Admins do tfm.exec.chatMessage("["..CCname.."] > ["..cmd[2].." is not an admin anymore]", Admins[p]) end print("["..CCname.."] > ["..cmd[2].." is not an admin anymore]") table.remove(Admins,o) end end print(o) end print(cmd[1]) print(cmd[2]) u = 0 end end--o function eventPopupAnswer(popupID, name, answer)--o if popupID==1 then print("["..name.."] "..answer) tfm.exec.chatMessage("["..name.."] "..answer) end if popupID==2 then RoomAdminMessage = answer print("\n"..RoomAdminMessage.." •\n") end end--o --o Squid Game TFM Tribe Script by Wizardamani0#6277 o-- v 1.3