Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.setRoomMaxPlayers(45)
- tfm.exec.disablePhysicalConsumables(true)
- tfm.exec.disableAllShamanSkills(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoScore(true)
- tfm.exec.disableMortCommand(true)
- tfm.exec.disableWatchCommand(true)
- admin="Trovaodouu"
- data={}
- em=""
- emotions={
- {emotion="Dance",n=0},{emotion="Ria",n=1},{emotion="Chore",n=2},{emotion="Beije",n=3},{emotion="Tenha raiva",n=4},{emotion="Bata palmas",n=5},{emotion="Durma",n=6},{emotion="Ponha mão no rosto",n=7},{emotion="Sente",n=8},{emotion="Taque Confete",n=10}
- }
- eventNewPlayer=function(name)
- data[name]={
- canPass=false,
- points=0
- }
- end
- for all in pairs(tfm.get.room.playerList) do
- eventNewPlayer(all)
- end
- function split(t,s)
- local a={}
- for i,v in string.gmatch(t,string.format("[^%s]+",s or "%s")) do
- table.insert(a,i)
- end
- return a
- end
- newMotion=function()
- ui.addTextArea(2,"<B><font size='25' color='#010101'><p align='center'>"..em.."</p>",all,255,308,290,40,1,1,0,true)
- end
- eventChatCommand=function(name,cmd)
- local arg = split(cmd, " ")
- if name == admin and arg[1] == "cmd" and arg[2] then
- insert=false
- for i,v in pairs(emotions) do
- if tonumber(arg[2]) == tonumber(v.n) then
- insert=arg[2]
- em=v.emotion
- newMotion()
- end
- end
- end
- end
- eventLoop=function()
- tfm.exec.setUIMapName("<D><B>[Mímica]</B></D>")
- end
- tfm.exec.newGame('<C><P /><Z><S><S c="4" L="800" o="f2d997" H="400" X="400" Y="200" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="27" o="ae9a62" X="13" Y="200" T="12" H="400" /><S L="27" o="ae9a62" X="787" H="400" Y="200" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="747" o="ae9a62" H="148" X="400" Y="325" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S c="4" L="298" o="dac281" H="118" X="400" Y="325" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="27" o="ae9a62" X="400" H="800" Y="32" T="12" P="0,0,0.3,0.2,90,0,0,0" /></S><D /><O /></Z></C>')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement