roz=0 pl=0 cza=0 kow=0 admin = "Azizhamood" mod = "Omoroz" modi = "Lampek" modii = "Tasted" tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoScore(true) tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoNewGame(true) system.disableChatCommandDisplay("kotely",true) system.disableChatCommandDisplay("mort",true) system.disableChatCommandDisplay("kotel",true) system.disableChatCommandDisplay("fly",true) system.disableChatCommandDisplay("czacha",true) system.disableChatCommandDisplay("szampan",true) system.disableChatCommandDisplay("ryby",true) system.disableChatCommandDisplay("fikusy",true) system.disableChatCommandDisplay("kowadlo",true) system.disableChatCommandDisplay("kowadla",true) system.disableChatCommandDisplay("szaman",true) system.disableChatCommandDisplay("sklep",true) system.disableChatCommandDisplay("pizza",true) system.disableChatCommandDisplay("cennik",true) system.disableChatCommandDisplay("zima",true) system.disableChatCommandDisplay("niespodzianka",true) system.disableChatCommandDisplay("wampir",true) system.disableChatCommandDisplay("mepp",true) system.disableChatCommandDisplay("zawody",true) system.disableChatCommandDisplay("Lessi",true) system.disableChatCommandDisplay("Avis",true) system.disableChatCommandDisplay("czary",true) system.disableChatCommandDisplay("admini",true) system.disableChatCommandDisplay("Szczurb",true) system.disableChatCommandDisplay("Marzenie",true) system.disableChatCommandDisplay("Mrkapii",true) system.disableChatCommandDisplay("Anonimkka",true) system.disableChatCommandDisplay("strona",true) system.disableChatCommandDisplay("Dialogowe",true) system.disableChatCommandDisplay("Funkcjonalne",true) system.disableChatCommandDisplay("pomoc",true) system.disableChatCommandDisplay("Banany",true) system.disableChatCommandDisplay("panel",true) system.disableChatCommandDisplay("respawn",true) system.disableChatCommandDisplay("Czekolada",true) system.disableChatCommandDisplay("Conjunctivitis",true) system.disableChatCommandDisplay("pokoj",true) system.disableChatCommandDisplay("apple",true) system.disableChatCommandDisplay("ryba",true) system.disableChatCommandDisplay("alohomora",true) system.disableChatCommandDisplay("reset",true) system.disableChatCommandDisplay("apple",true) system.disableChatCommandDisplay("ryba",true) system.disableChatCommandDisplay("end",true) for nick in pairs(tfm.get.room.playerList) do pl=pl+1 tfm.exec.bindKeyboard(nick,87,true) end function eventKeyboard(nick,x,y) ui.addTextArea(5,"ZW",nil,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y,0,0,50,10,0) end function eventEmotePlayed(nick,id) if id==9 then ui.removeTextArea(0,nick) ui.removeTextArea(1,nick) elseif id==3 then ui.addTextArea(0,"ROMANTIK JEST W ŚRÓD NAS! -,^",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif id==6 then ui.addTextArea(0,"Nie śpimy, zwiedzamy!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) end end function eventChatCommand(nick,kmnd) if kmnd=="mort" then tfm.exec.killPlayer(nick) tfm.exec.addShamanObject(90,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y) elseif kmnd=="fly" then ui.addTextArea(0,"Fly się skończyło! ;c",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="czacha" and cza<150 then cza=cza+1 if tfm.get.room.currentMap == '@5347091' then tfm.exec.addShamanObject(602,100,50) ui.addTextArea(66666,"Mamy już " ..cza .." czaszek! (!czacha)",nil,550,200,0,0,50,10,0) elseif tfm.get.room.currentMap == '@5347091' then elseif kmnd=="szampan" then ui.addTextArea(0,"SZAMPAN SIĘ SKOŃCZYŁ!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="ryby" and roz<150 or kmnd=="fikusy" and roz<150 then roz=roz+3 ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) ui.addTextArea(0,"Zaopiekuj sie nimi dobrze!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) elseif kmnd=="kowadlo" and kow<10 then tfm.exec.addShamanObject(10,100,50) elseif kmnd=="kowadla" and kow<9 then tfm.exec.addShamanObject(10,100,50) tfm.exec.addShamanObject(10,100,50) tfm.exec.addShamanObject(10,450,500) elseif kmnd=="szaman" and nick=="Azizhamood" or kmnd=="szaman" and nick=="Omoroz" or kmnd=="szaman" and nick=="Tasted" or kmnd=="szaman" and nick=="Lampek" or kmnd=="szaman" and nick=="Marzenie"then tfm.exec.setShaman(nick) elseif kmnd=="sklep" then tfm.exec.movePlayer(nick,620,200) elseif kmnd=="pizza" then ui.addTextArea(0,"Pizza *om, om, om, om*",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="cennik" then ui.addTextArea(2,"

★Cennik:★

\nWybierz osobe! :D.\n

X

",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) ui.addTextArea(3,"Cennik Azizhamood",nick,215,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="zima" then tfm.exec.snow(10,100) elseif kmnd=="niespodzianka" then tfm.exec.addShamanObject(68,100,50) ui.addTextArea(0,"Illumanti! Wzywam Cie!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="wampir" then tfm.exec.setVampirePlayer(nick) ui.addTextArea(0," KRWIO ŻERCA NA WOLNOŚCI!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="meep" then tfm.exec.giveMeep(nick) elseif kmnd=="zawody" then tfm.exec.newGame('@5584415') ui.removeTextArea(0,nick) ui.removeTextArea(7,nick) ui.removeTextArea(77,nick) ui.removeTextArea(777,nick) ui.removeTextArea(7777,nick) ui.removeTextArea(77777,nick) ui.removeTextArea(777777,nick) ui.removeTextArea(7777777,nick) ui.removeTextArea(77777777,nick) ui.removeTextArea(777777777,nick) ui.removeTextArea(6,nick) ui.removeTextArea(66,nick) ui.removeTextArea(666,nick) ui.removeTextArea(6666,nick) ui.removeTextArea(66666,nick) ui.removeTextArea(6666666,nick) ui.addTextArea(666666,"Turniej!",nil,260,30,0,0,50,10,0) tfm.exec.newGame('@5584415') elseif kmnd=="Lessi" then ui.addTextArea(0,"Lessi wróć!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Avis" then ui.addTextArea(0,"Ptaki się skończyły w składziku :c",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="czary" then ui.addPopup(0, 1,"Czy chcesz poznać tajne zaklęcia?!\n Które zmienią Ci życie?", nick,50,50,300,true) elseif kmnd=="admini" then ui.addTextArea(0,"Adminami są: Azizhamood, Tasted,Lampek , Omoroz , Wódz Plemienia,",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Szczurb" then ui.addTextArea(0,"Szczury!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Marzenie" then ui.addTextArea(0,"Starzenie w toku...",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="strona" then ui.addTextArea(0,"DevianArt",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Dialogowe" then ui.addTextArea(0,"Komendy Dialogowe:\nPamiętaj, że wielkość liter ma znaczenie!\n!Lessi, !cennik, !Mrkapii, !Anonimkka, !Marzenie, !Szczurb, !pizza, !regulamin, !wampir, !pomoc, !admini, !strona",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Funkcjonalne" then ui.addTextArea(0,"Komendy Funkcjonalne:\nPamiętaj, że wielkość liter ma znaczenie!\n!sklep, !ryba / !ryby, !mort, !zima, !meep, !czacha, !niespodzianka",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="pomoc" then ui.addTextArea(0,"POMOC W DRODZE!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Mrkapii" then ui.addTextArea(0,"Kapi to sok :v",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) tfm.exec.addShamanObject(39,100,50) elseif kmnd=="Anonimkka" then ui.addTextArea(0,"Anonimus jest wśród Nas! ;O",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif kmnd=="Banany" then tfm.exec.addShamanObject(2805,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y) elseif kmnd=="panel" and nick=="Tasted" or kmnd=="panel" and nick=="Lampek" or kmnd=="panel" and nick=="Azizhamood" or kmnd=="panel" and nick=="Omoroz"then ui.addTextArea(1,"Komendy dla Admina: !kotely (5 rozdymek), !szaman, !pokoj ; W budowie - !chat ;\n !Plażing ; !Dżungles",nick,5,25,790,30,nil,0xBabd2f,0.7,true) elseif kmnd=="respawn" then tfm.exec.respawnPlayer(nick) ui.addTextArea(77777777,"",nil,1080,180,0,0,50,10,0) ui.addTextArea(7777777,"Zaproś znajomych\ndo plemka!",nil,880,150,0,0,50,10,0) ui.addTextArea(777777,"Jeżeli nie chce Ci się iść do sklepu\n Wpisz !sklep",nil,700,440,0,0,50,10,0) ui.addTextArea(77777,"Chcesz poznać ceny produktów?\n Wpisz: !cennik ;)",nil,150,100,0,0,50,10,0) ui.addTextArea(7777,"Jeżeli nie ma Cie, napisz: !respawn",nil,700,420,0,0,50,10,0) ui.addTextArea(777,"Pokój Adminów",nil,550,250,0,0,50,10,0) ui.addTextArea(7,"Wciśnia Z, aby powiadomić innych, że masz ZW!",nil,1500,350,100,250,50,10,0) ui.addTextArea(6,"Konfetti zamykasz okna\nWpisz/Klikni:\n !Dialogowe \n !Funkcjonalne \n Masz pomysł? Napisz!",nil,1300,350,0,0,50,10,0) ui.addTextArea(66,"Plaż Bar",nil,950,420,0,0,50,10,0) ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) ui.addTextArea(66666,"Mamy już " ..cza .." czaszek! (!czacha)",nil,550,200,0,0,50,10,0) ui.addTextArea(666666,"SHOP",nil,260,30,0,0,50,10,0) ui.addTextArea(6666666,"

★★★

\nKup własną komende!\n

★★★

",nil,500,65,0,0,50,10,0) elseif kmnd=="Czekolada" then ui.removeTextArea(9,nick) elseif kmnd=="Conjunctivitis" then ui.addTextArea(9,".",nick,0,0,800,400,ffffff,ffffff,ffffff,100) elseif kmnd=="pokoj" and nick=="Tasted" or kmnd=="pokoj" and nick=="Omoroz" or kmnd=="pokoj" and nick=="Azizhamood" then tfm.exec.movePlayer(nick,400,250) elseif kmnd=="apple" then tfm.exec.addShamanObject(39,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y) elseif kmnd=="ryba" and roz<150 then roz=roz+1 if tfm.get.room.currentMap == '@5347091' then ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) ui.addTextArea(0,"Zaopiekuj sie nia dobrze!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) tfm.exec.addShamanObject(65,100,50) elseif tfm.get.room.currentMap == '@5347091' then elseif kmnd=="kotely" and nick=="Azizhamood" or kmnd=="kotely" and nick=="Omoroz" or kmnd=="kotely" and nick=="Lampek" or kmnd=="kotely" and nick=="Tasted" then roz=roz+5 ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) tfm.exec.addShamanObject(65,100,50) elseif kmnd=="end" and nick=="Tasted" or kmnd=="end" and nick=="Lampek" or kmnd=="end" and nick=="Azizhamood" or kmnd=="end" and nick=="Scatyqq" then W=11 elseif kmnd=="respawnn" then ui.removeTextArea(77777,nick) ui.removeTextArea(777777,nick) ui.removeTextArea(666666,nick) ui.removeTextArea(6666666,nick) ui.removeTextArea(777,nick) ui.addTextArea(77777777,"",nil,550,100,0,0,50,10,0) ui.addTextArea(7777777,"Zaproś znajomych\ndo plemka!",nil,380,70,0,0,50,10,0) ui.addTextArea(7777,"Jeżeli nie ma Cie, napisz: !respawnn",nil,270,225,0,0,50,10,0) ui.addTextArea(7,"Wciśnia Z, aby powiadomić innych, że masz ZW!",nil,300,275,100,250,50,10,0) ui.addTextArea(6,"Konfetti zamykasz okna\nWpisz/Klikni:\n !Dialogowe \n !Funkcjonalne \n Masz pomysł? Napisz!",nil,500,250,0,0,50,10,0) ui.addTextArea(66,"Plaż Bar",nil,950,420,0,0,50,10,0) ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) ui.addTextArea(66666,"Mamy już " ..cza .." czaszek! (!czacha)",nil,550,200,0,0,50,10,0) end end function eventNewPlayer(nick) pl=pl+1 tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoScore(true) tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoNewGame(true) tfm.exec.setUIMapName("Lua Chatecka by Azizhamood© | Pisz jeżeli masz pomysł! | Myszeły: " ..pl .."\n") tfm.exec.respawnPlayer(nick) end function eventPlayerWon(nick) tfm.exec.respawnPlayer(nick) end function eventNewGame() tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoScore(true) tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoNewGame(true) tfm.exec.setUIMapName("Lua Chatecka by Azizhamood© | Pisz jeżeli masz pomysł! | Myszeły: " ..pl .."\n") end function eventPlayerDied(name) tfm.exec.respawnPlayer(name) end function eventPlayerLeft(nick) pl=pl-1 end W=12 function eventLoop(c,r) if W>=1 and W<=11 then W=W-1 tfm.exec.setUIMapName("Lua Chatecka by Azizhamood© | Pisz jeżeli masz pomysł! | Myszeły: " ..pl .." | " ..W .." sekund do wyłączenia kodu\n") elseif W==0 then system.exit() end end function eventPopupAnswer(id,nick,cb) if cb == "yes" then ui.addTextArea(0,"Magiczne czary!\n!Avis - Wypluwa ptaki!\n!Conjunctivitis - Oślepia (!Czekolada - Odwraca działanie)",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) else ui.addTextArea(0,"Spoczywaj w niewiedzy... :c",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) end end function eventTextAreaCallback(id,nick,cb) if cb=="dia" then ui.addTextArea(0,"Komendy Dialogowe:\nPamiętaj, że wielkość liter ma znaczenie!\n!Lessi, !cennik, !Mrkapii, !Anonimkka, !Marzenie, !Szczurb, !pizza, !regulamin, !wampir, !pomoc, !admini, !strona",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif cb=="fun" then ui.addTextArea(0,"Komendy Funkcjonalne:\nPamiętaj, że wielkość liter ma znaczenie!\n!sklep, !ryba / !ryby, !mort, !zima, !meep, !czacha, !niespodzianka",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100) elseif cb=="map1" then roz=0 cza=0 kow=0 ui.addTextArea(77777777,"",nil,1080,180,0,0,50,10,0) ui.addTextArea(7777777,"Zaproś znajomych\ndo plemka!",nil,880,150,0,0,50,10,0) ui.addTextArea(777777,"Jeżeli nie chce Ci się iść do sklepu\n Wpisz !sklep",nil,700,440,0,0,50,10,0) ui.addTextArea(7777,"Jeżeli nie ma Cie, napisz: !respawn",nil,700,420,0,0,50,10,0) ui.addTextArea(777,"Pokój Adminów",nil,550,250,0,0,50,10,0) ui.addTextArea(7,"Wciśnia Z, aby powiadomić innych, że masz ZW!",nil,1500,350,100,250,50,10,0) ui.addTextArea(6,"Konfetti zamykasz okna\nWpisz/Klikni:\n !Dialogowe \n !Funkcjonalne \n Masz pomysł? Napisz!",nil,1300,350,0,0,50,10,0) ui.addTextArea(66,"Plaż Bar",nil,950,420,0,0,50,10,0) ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,700,580,0,0,50,10,0) ui.addTextArea(66666,"Mamy już " ..cza .." czaszek! (!czacha)",nil,700,600,0,0,50,10,0) tfm.exec.newGame('@5567935') elseif cb=="map2" then roz=0 cza=0 kow=0 tfm.exec.newGame('@5585871') ui.removeTextArea(77777,nick) ui.removeTextArea(777777,nick) ui.removeTextArea(666666,nick) ui.removeTextArea(6666666,nick) ui.removeTextArea(777,nick) ui.addTextArea(77777777,"",nil,550,100,0,0,50,10,0) ui.addTextArea(7777777,"Zaproś znajomych\ndo plemka!",nil,380,70,0,0,50,10,0) ui.addTextArea(7777,"Jeżeli nie ma Cie, napisz: !respawnn",nil,270,225,0,0,50,10,0) ui.addTextArea(7,"Wciśnia Z, aby powiadomić innych, że masz ZW!",nil,300,275,100,250,50,10,0) ui.addTextArea(6,"Konfetti zamykasz okna\nWpisz/Klikni:\n !Dialogowe \n !Funkcjonalne \n Masz pomysł? Napisz!",nil,500,250,0,0,50,10,0) ui.addTextArea(66,"Plaż Bar",nil,950,420,0,0,50,10,0) ui.addTextArea(666,"Urodziło sie " ..roz .." rozdymek (!ryba)",nil,550,180,0,0,50,10,0) ui.addTextArea(66666,"Mamy już " ..cza .." czaszek! (!czacha)",nil,550,200,0,0,50,10,0) end end print("100%") print("Wpisz: !panel - Aby włączyć daną mape.") end end