Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- time=0;
- v=0;
- sps=0;
- timee=os.time();
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAllShamanSkills(true)
- tfm.exec.newGame('<C><P F="'..math.random(0,10)..'" /><Z><S><S H="50" P="0,0,0.3,0.2,0,0,0,0" L="120" X="60" Y="400" T="6" v="5000" /></S><D><DS Y="353" X="86" /><DC Y="357" X="51" /></D><O /></Z></C>')
- function eventLoop(ct,rt)
- if timee < os.time()-3000 then
- v=v+0.5;
- if v == 1 then
- v=0;
- time=time+1;
- tfm.exec.setGameTime(time)
- end
- end
- end
- function eventNewGame()
- ui.addTextArea(0,"<font size='13'>Tempo passado : <V>"..time.." <BL>| <N>Sps usados : <V>"..sps,nil,10,20,nil,nil,1,1,0.6,true)
- time=0;
- sps=0;
- v=0;
- timee=os.time();
- end
- function eventPlayerDied(p)
- if tfm.get.room.playerList[p].isShaman then
- tfm.exec.newGame('<C><P F="'..math.random(0,10)..'" /><Z><S><S H="50" P="0,0,0.3,0.2,0,0,0,0" L="120" X="60" Y="400" T="6" v="5000" /></S><D><DS Y="353" X="86" /><DC Y="357" X="51" /></D><O /></Z></C>')
- end
- end
- function eventSummoningStart(playerName,id,x,y,ang,xs,ys,other)
- if timee < os.time()-3000 then
- if id == 24 then
- sps=sps+1;
- else
- tfm.exec.killPlayer(playerName)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment