Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 0
- pisos={
- madei={
- ["type"]=0;
- ["friction"]=0.3;
- };
- gelos={
- ["type"]=1;
- };
- tramp={
- ["type"]=2;
- ["restitution"]=1.2;
- };
- choco={
- ["type"]=4;
- ["friction"]=20;
- };
- terra={
- ["type"]=5;
- ["friction"]=0.3;
- };
- areia={
- ["type"]=7;
- ["friction"]=0.1;
- };
- nuvem={
- ["type"]=8;
- ["miceCollision"]=false;
- };
- neves={
- ["type"]=11;
- ["friction"]=0.05;
- };
- circu={
- ["type"]=13;
- ["friction"]=0.3;
- };
- invis={
- ["type"]=14;
- ["friction"]=0.3;
- };
- };
- tp={"madei","gelos","tramp","choco","terra","areia","invis","neves","circu","nuvem"};
- tfm.exec.disableAfkDeath()
- tfm.exec.disableAutoNewGame()
- tfm.exec.disableAutoShaman()
- tfm.exec.newGame[[<C><P F="7" G="0,30" H="75000" /><Z><S><S L="3000" X="400" H="2000" Y="13107199" T="2" P="0,0,0,0.6,0,0,0,0" /><S L="800" X="400" H="80" Y="40" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" H="200" c="3" Y="341" T="0" X="400" /><S X="399" L="40" H="200" c="3" Y="260" T="0" P="0,0,0,0.2,90,0,0,0" /><S P="0,0,0,0.2,0,0,0,0" L="10" H="159" v="17500" Y="158" T="1" X="305" /><S P="0,0,0,0.2,0,0,0,0" L="10" H="156" v="17500" Y="160" T="1" X="493" /><S L="800" X="400" H="10" Y="49010" T="0" P="0,0,20,0.2,0,0,0,0" /></S><D><DS Y="227" X="412" /></D><O><O C="11" Y="397" X="428" P="0" /><O C="11" Y="400" X="500" P="0" /><O C="11" Y="400" X="700" P="0" /><O C="11" Y="400" X="611" P="0" /></O></Z></C>]]
- function eventNewPlayer(p)
- tfm.exec.respawnPlayer(p)
- end
- function eventPlayerDied(p)
- tfm.exec.respawnPlayer(p)
- end
- eventLoop = function()
- for k,v in next,tfm.get.room.playerList do
- tfm.exec.setPlayerScore(k,v.y,false)
- x = x + 1
- tfm.exec.addPhysicObject(x, math.random(-200,1000), math.random(400,75000), pisos[tp[math.random(#tp)]])
- tfm.exec.addPhysicObject(x, math.random(-200,1000), math.random(400,75000), pisos[tp[math.random(#tp)]])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement