Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- maps={6615525,6615335,6578495,6578501,6578508,6578517,6579007,6580027,6580135,6581504,6580174,2851677}
- function eventLoop(time,remaining)
- if remaining<=0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventPlayerDied()
- local i=0
- for n,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- i=i+1
- end
- end
- if i==0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- ui.addPopup(0, 0, "<p align='center'><font color='#babd27' size='24'face='Skittlesuni'>Credits</font></p><br> Skittlesuni - Game Creator <br>Dramatotala - Scripter<br>Fsoricar - Gameplay Tester", nil, 180, 93, 200, true)
- ui.addPopup(0, 0, "<p align='center'><font color='#babd27' size='24'face='Skittlesuni'>Celebrarte</font></p><br> Aaaa We Gonna CELEBRATE NOW! In another world, we are the super players! Time to CELEBRATE! Use this mode to CELEBRATE! When the room #Space appears, is time to dance! ^-^ And /nue stops a part of lag. But you will don't see others clothes.. but you will stop lagging! CELEBRATE WITH #SPACE, #SPACE STAFF AND SKITTLESUNI!", nil, 180, 93, 200, true)
- function eventChatCommand(name,command)
- if command=="help" then
- ui.addPopup(0, 0, "<p align='center'><font color='#babd27' size='24'face='Skittlesuni'>Help</font></p><br> Hey, this is a Help Popup! Welcome to #Space! The rules are simple. Complete the maps just! Nothing else! You can do (amlost) anything, excepting hacking, insulting and more. Also there are Keepers what are checking what happens there. If you think everything is ran out, call a Keeper or better Skittlesuni to stop this mess ^-^ Good luck! Type /nue to stop lagging! ", nil, 180, 93, 200, true)
- elseif command=="credits" then
- ui.addPopup(0, 0, "<p align='center'><font color='#babd27' size='24'face='Skittlesuni'>Credits</font></p><br> Skittlesuni - Game Creator <br>Dramatotala - Scripter<br>Fsoricar - Gameplay Tester", nil, 180, 93, 200, true)
- end
- end
- for name, player in pairs(tfm.get.room.playerList) do
- tfm.exec.setNameColor(name, string.format("%x", math.random(0x000000, 0xFFFFFF)))
- end
- tfm.exec.setUIMapName("#Space | Version 0.Celebrate")
- function eventChatCommand(name,command)
- if command=="Five Players" then
- tfm.exec.setRoomMaxPlayers(5)
- elseif command=="Lonely Player" then
- tfm.exec.setRoomMaxPlayers(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement