Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.setNameColor("Basterfeild", 0xFF1900)
- tfm.exec.setNameColor("Jufaster", 0xFF1900)
- system.disableChatCommandDisplay("off",true)
- system.disableChatCommandDisplay("help",true)
- system.disableChatCommandDisplay("pomoc",true)
- tfm.exec.disableAutoTimeLeft (true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- maps={"@1427980","@161434","@216173","@2178800 ","@172621","@500000","@3908151","@168754","@512887","@306365","@1384078","@2130169","@410045","@3038589","@528032 ","@511136","@166032","@315666 ","@162482","@684566","@171480","@166271","@587501","@467137","@113156","@166333","@172605","@169228","@250153"}
- tfm.exec.newGame(maps[math.random(#maps)])
- function eventLoop(time,remaining)
- if remaining<=0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventNewPlayer(name)
- tfm.exec.bindKeyboard(name,32,true,true)
- tfm.exec.respawnPlayer(name);
- tfm.exec.setUIShamanName("Bootcamp")
- ui.addPopup(1,0,"<b><font size='20'color='#E9BF23'>Welcome in <i><u>Cheat Bootcamp!</u></i></font></b><br /><br /><font size='12'color='#13A8B7'><b>To get informations for this room - type !help <i>(<u>EN</u> version)</i> or !pomoc <i>(<u>PL</u> version)</i>.</b><br /><font size='10'color='#E6E6E6'>By <b><i><u>Basterfeild<u><i></b>!",playerName,175,200,450)
- end
- function main()
- tfm.exec.disableAutoNewGame (true);
- tfm.exec.disableAutoShaman(true);
- tfm.exec.disableAutoTimeLeft (true);
- tfm.exec.disableAutoScore (true);
- tfm.exec.disableAfkDeath (true);
- end
- function eventNewGame ()
- tfm.exec.setUIMapName("Cheat")
- tfm.exec.setGameTime (60*6);
- tfm.exec.setUIShamanName ("Bootcamp")
- end
- function eventChatCommand(playerName, com)
- if com == 'off' then
- system.exit()
- else if com == 'help' then
- ui.addPopup(1,0,"<b><font size='20'color='#13A8B7'>Welcome in <u><i>#CheatBootcamp!</i></u></font><b><br/ > <font size='12'color='#D97922'><b>Press kiss to get cheese!</b></font><br /></font><b><font size='12'color='#D97922'><b>Press Space to fly!</font></b><br /></font><b><font size='12'color='#D97922'><b>Click in screen to use teleport!</font></b><br /><font size='10'><i>By <b>Basterfeild</b></i></font>",playerName,200,100,400)
- else if com == 'pomoc' then
- ui.addPopup(1,0,"<b><font size='20'color='#13A8B7'>Witaj w <u><i>#CheatBootcamp!</i></u></font><b><br /><font size='12'color='#D97922'><b>Naciśnij pocałunek, aby dostać ser!</b></font><br /></font><b><font size='12'color='#D97922'><b>Naciśnij spację, aby latać!</font></b><br /></font><b><font size='12'color='#D97922'><b>Kliknij LPM w dowolnym miejscu, aby się teleportować!</font></b><br /><font size='10'><i>Autor : <b>Basterfeild</b></i></font>",playerName,200,100,400)
- end
- end
- end
- end
- function eventPlayerWon(name)
- tfm.exec.respawnPlayer(name)
- end
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindMouse(name, true)
- end
- function eventMouse(name, x, y)
- tfm.exec.movePlayer(name, x, y, false, 0, 1, false)
- end
- function eventEmotePlayed(playerName,emote)
- if emote==3 then
- tfm.exec.giveCheese(playerName)
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventKeyboard(name,key,down,x,y)
- if key==32 then
- tfm.exec.movePlayer(name,0,0,true,0,-50,false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement