Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m={}
- table.foreach(tfm.get.room.playerList,function(k) m[#m+1]=k end)
- tfm.exec.setShaman(m[math.random(#m)])
- quantidade = 0 -- ponha a quantidade
- tempo = 5 -- ponha o tempo
- function eventLoop(a,b)
- if b<tempo then
- for i = 1,quantidade do
- tfm.exec.addShamanObject(1,math.random(0,800),math.random(0,400),math.random(-90,90))
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement