Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spawned = 0
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.newGame(281492)
- function eventEmotePlayed(name,emote)
- if emote==emote then
- tfm.exec.addShamanObject(emote, spawningplace, 200, 0, 0, 0, false)
- spawned = spawned + 1
- end
- end
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.setGameTime(0)
- function eventNewGame()
- tfm.exec.setUIMapName("Map")
- end
- function eventLoop()
- if spawned == 20 then
- tfm.exec.setUIMapName("That's a lot of stuff! Watch out you don't crash.")
- end
- end
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- function eventLoop()
- spawnplace = math.random(1,7)
- if spawnplace == 1 then
- spawningplace = 100
- elseif spawnplace == 2 then
- spawningplace = 200
- elseif spawnplace == 3 then
- spawningplace = 300
- elseif spawnplace == 4 then
- spawningplace = 400
- elseif spawnplace == 5 then
- spawningplace = 500
- elseif spawnplace == 6 then
- spawningplace = 600
- elseif spawnplace == 7 then
- spawningplace = 700
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement