Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Verions new
- Added buggy
- Added Hacker Options
- Added text color new
- _________________________________
- maps={7938243}
- tfm.exec.newGame(maps[math.random(#maps)])
- system.disableChatCommandDisplay("off",true)
- system.disableChatCommandDisplay("help",true)
- system.disableChatCommandDisplay("pomoc",true)
- tfm.exec.disableAutoTimeLeft (true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoScore(false)
- tfm.exec.disableAfkDeath(true)
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindMouse(name, true)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.giveMeep(name)
- end
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- tfm.exec.setUIMapName("Welcome to TransforCHEATmice v1.7")
- tfm.exec.setUIShamanName("GO HACKING O:")
- function eventKeyboard(name, key, down, x, y)
- if key == 70 then
- print("You pressed F at x = "..x.." and y = "..y.."!")
- end
- if key == 70 and down == true then
- print("F is down!")
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.setShaman(name)
- end
- function eventNewPlayer(name)
- tfm.exec.bindKeyboard(name,32,true,true)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventChatCommand(name,command)
- if command=="sham" then
- tfm.exec.setShaman(name)
- elseif command=="death" then
- tfm.exec.killPlayer(name)
- elseif command=="vamp" then
- tfm.exec.setVampirePlayer(name)
- elseif command=="snow" then
- tfm.exec.snow()
- elseif command=="meep" then
- tfm.exec.giveMeep(name)
- elseif command=="white" then
- tfm.exec.setNameColor("name", 0xffffff)
- elseif command=="black" then
- tfm.exec.setNameColor("name", 0x000000)
- elseif command=="red" then
- tfm.exec.setNameColor("name", 0xFF0000)
- elseif command=="blue" then
- tfm.exec.setNameColor("name", 0x0D00FF)
- elseif command=="yellow" then
- tfm.exec.setNameColor("name", 0xFFEE00)
- elseif command=="green" then
- tfm.exec.setNameColor("name", 0x11FF00)
- elseif command=="orange" then
- tfm.exec.setNameColor("name", 0xFFAE00)
- elseif command=="purple" then
- tfm.exec.setNameColor("name", 0xD400FF)
- end
- 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
- tfm.exec.giveMeep(name)
- end
- for name, player in pairs(tfm.get.room.playerList) do
- tfm.exec.setNameColor(name, string.format("%x", math.random(0x000000, 0xFFFFFF)))
- end
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.setShaman(name)
- end
- ----New Player----
- function eventNewPlayer(n)
- tfm.exec.bindKeyboard(n,32,true,true)
- tfm.exec.respawnPlayer(n)
- tfm.exec.setUIShamanName("<J>Hacking Player</J>")
- ui.addPopup(1,0,"<b><font size='20'color='#E9BF23'>Welcome to <i><u>TransforCHEATmice</u></i></font></b><br /><br /><font size='12'color='#13A8B7'><b>Hello, My name is Grth_demon#2154, U see is hacking. Click like screen of ur use box litte. now, space fly, NOW CLICK IS -> <B><font color='#98E2EB'>[•]</CH></B></font><color='#13A8B7'> in going ur HACKING :D, and aslo, buts your tutorial: added fireworks snow ban meep, <B><font color='#24BAC6'>By Grth_demon#2154</CH></B></font><color='#24BAC6'>, And enjoy, this ur hacking, buts im editor this lua, Buts dont tell anymore if dont reported me! buts its rules on transforcheatmice : DO NOT BUGS, buts you link :<B><font color='#FF1F34'>www.pastebin.com/raw/pvWvXq6N</CH></B></font><color='#FF1F34'>",playerName,175,200,450)
- ui.addTextArea(0, '<a href="event:menu"><b><CH>[<u>o</u><CH>]</CH></b></a>', playerName, 15, 25, 25, 20, nil, nil, nil)
- end
- ----Main options----
- function main()
- tfm.exec.disableAllShamanSkills(true)
- tfm.exec.disableAutoNewGame (true);
- tfm.exec.disableAutoShaman(true);
- tfm.exec.disableAutoTimeLeft (true);
- tfm.exec.disableAutoScore (true);
- tfm.exec.disableAfkDeath (true);
- end
- ----New Game----
- function eventNewGame()
- tfm.exec.setUIMapName("<CH>TransforCHEATmice! | !map CODE")
- tfm.exec.setGameTime (4500*6);
- tfm.exec.setUIShamanName ("<J>Name!</J>")
- end
- ---Commands---
- function eventChatCommand(playerName, com)
- if name == 'Basterfeild' then if com == 'off' then
- system.exit()
- end
- end
- end
- ---Player Won/Player Died---
- function eventPlayerWon(name)
- tfm.exec.respawnPlayer(name)
- end
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- ----All players----
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindMouse(name, true)
- end
- ---Event with mouse----
- ----NOL----
- ---Event with Emotes----
- function eventEmotePlayed(playerName,emote)
- if emote==3 then
- tfm.exec.giveCheese(playerName)
- tfm.exec.playerVictory(playerName)
- end
- end
- ----Everybody----
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- ---Event with Keyboard---
- function eventKeyboard(name,key,down,x,y)
- if key==32 then
- tfm.exec.movePlayer(name,0,0,true,0,-60,false)
- end
- end
- ---With LUA started---
- print(" <BR /><T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=-<T>=<N>-<T>=<BR /><CH>#TRANSFORCHEATMICE</CH><J>By Grth_demon#2154 link : https://pastebin.com/pvWvXq6N<BR /><T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=<T>-<N>=-<T>=<N>-<T>=")
- ---Callbacks----
- ui.addTextArea(0, '<a href="event:menu"><b><CH>[<u>o</u><CH>]</CH></b></a>', playerName, 15, 25, 25, 20, nil, nil, nil)
- function eventTextAreaCallback(id, playerName, text)
- if text == 'menu' then
- ui.addTextArea(1, '<font size="18">Welcome in <B><font face ="Elephant"><J>#TRAFORCHEATMICE</J></font></B></font><BR /><font size="12">There, <B>You</B> have <j><b>Mice</b></j>Press <B><a href="event:win">Kiss</a></b>, to <j><b>win!</b></j>Press <b>Space</b>, to <j><B>fly!</B></j><B>Tap</B> in screen, to <j><b>teleport!</J><b><BR /><B>By</B> <j><i>Grth_demon#2154!</i></j></font><BR /><a href="event:global"><T>Page 2</T></a><BR /><a href="event:exit"><R>Exit</R></a>', playerName, 40, 40, 300, 200, nil, nil, nil)
- else if text == 'exit' then
- ui.removeTextArea(1, playerName)
- else if text == 'win' then
- tfm.exec.giveCheese(playerName)
- tfm.exec.playerVictory(playerName)
- else if text == 'global' then
- ui.addTextArea(2, '<font size="20"><J><B><I>Options Hacking! </I></B></J></font><CH><BR /><a href="event:cheese"><b>Give vampire!</b></a><BR /><a href="event:win2"><b>Give win</b></a><BR /><a href="event:jump"><B>Transformations</B></a><BR /><a href="event:die"><B>Chaman</B></a><BR /><a href="event:exit2"><R>Exit</R></a><BR><BR /><a href="event:ban"><b>BAN</b></a><BR /><a href="event:ban"><BR /><a href="event:meep"><b>MEEP</b></a><a href="event:lag"><b> lagging</b></a></a><a href="event:chat"><b> Firworks</b></a></a><a href="event:snow"><b> Snow</b></a></a><a href="event:off"><b> Off lua</b></a></a><a href="event:notcheese"><b> NOT CHEESE AT ALL</b></a>',playerName, 40, 40, 300, 150, nil, nil, nil)
- ui.removeTextArea(1, playerName)
- else if text == 'cheese' then
- tfm.exec.setVampirePlayer(playerName)
- else if text == 'exit2' then
- ui.removeTextArea(2, playerName)
- else if text == 'win2' then
- tfm.exec.giveCheese(playerName)
- tfm.exec.playerVictory(playerName)
- else if text == 'jump' then
- tfm.exec.giveTransformations(playerName)
- else if text == 'die' then
- tfm.exec.setShaman(playerName)
- else if text == 'ban' then
- tfm.exec.killPlayer(playerName)
- else if text == 'meep' then
- tfm.exec.giveMeep(playerName)
- else if text == 'lag' then
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- else if text == 'chat' then
- zaman=0
- function eventLoop()
- zaman=zaman+1
- if zaman==1 then
- tfm.exec.displayParticle(11,350,308,0,-5,0,0,name)
- tfm.exec.displayParticle(11,350,305,0,-5,0,0,name)
- tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
- tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
- tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
- elseif zaman==2 then
- tfm.exec.displayParticle(24,350,165,4,-4,0,0,name)
- tfm.exec.displayParticle(21,350,165,2,-4,0,0,name)
- tfm.exec.displayParticle(22,350,165,0,-4,0,0,name)
- tfm.exec.displayParticle(23,350,165,-2,-4,0,0,name)
- tfm.exec.displayParticle(24,350,165,-4,-4,0,0,name)
- tfm.exec.displayParticle(24,350,165,3,-3,0,0,name)
- tfm.exec.displayParticle(21,350,165,1,-3,0,0,name)
- tfm.exec.displayParticle(22,350,165,0,-3,0,0,name)
- tfm.exec.displayParticle(23,350,165,-1,-3,0,0,name)
- tfm.exec.displayParticle(24,350,165,-3,-3,0,0,name)
- tfm.exec.displayParticle(21,350,165,0,-2,0,0,name)
- tfm.exec.displayParticle(22,350,165,0,2,0,0,name)
- tfm.exec.displayParticle(23,350,165,2,0,0,0,name)
- tfm.exec.displayParticle(24,350,165,-2,0,0,0,name)
- else if text == 'snow' then
- tfm.exec.snow()
- else if text == 'off' then
- system.exit()
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- function eventChatCommand(name, cmd)
- if cmd:sub(0,3) == "map" then
- tfm.exec.setShaman(name)
- tfm.exec.newGame(cmd:sub(5))
- if command=="fly" then
- function eventNewPlayer(name)
- tfm.exec.bindKeyboard(name,32,true,true)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventLoop()
- tfm.exec.killPlayer(playerName)
- end
- function eventKeyboard(name,key,down,x,y)
- if key==32 then
- tfm.exec.movePlayer(name,0,0,true,0,-50,false) --makes mice fly by saying !fly
- end
- end
- end
- end
- end
- function eventEmotePlayed(playerName,emote)
- if emote==4 then
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- if emote==1 then
- tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
- end
- end
- end
- system.bindMouse(p,true)
- function eventMouse(p,x,y)
- tfm.exec.movePlayer(p,x,y)
- end
- ui.addTextArea(1,"<font color='#00CC00'> Welcome.<N><i> ", nil, 363.1415926548, 53.5, nil, nil, 0, nil, 1.0, true)
- function eventNewPlayer(name)
- for i,key in ipairs({83,40,69}) do
- tfm.exec.bindKeyboard(name,key,true,true)
- end
- end
- function eventKeyboard(name,key,down,x,y)
- if key==83 or key==40 or key==69 then
- if tfm.get.room.playerList[name].isFacingRight then
- tfm.exec.addShamanObject(24,x,y)
- else
- tfm.exec.addShamanObject(10,x,y)
- end
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement