Advertisement
Guest User

v1.2 TFCM

a guest
Sep 16th, 2023
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.09 KB | None | 0 0
  1. Verions new
  2.  
  3. Added buggy
  4. Added Hacker Options
  5. Added text color new
  6. _________________________________
  7.  
  8.  
  9. maps={7938243}
  10. tfm.exec.newGame(maps[math.random(#maps)])
  11. system.disableChatCommandDisplay("off",true)
  12. system.disableChatCommandDisplay("help",true)
  13. system.disableChatCommandDisplay("pomoc",true)
  14. tfm.exec.disableAutoTimeLeft (true)
  15. tfm.exec.disableAutoShaman(true)
  16. tfm.exec.disableAutoNewGame(true)
  17. tfm.exec.disableAutoScore(false)
  18. tfm.exec.disableAfkDeath(true)
  19.  
  20. for name,player in pairs(tfm.get.room.playerList) do
  21. system.bindMouse(name, true)
  22. end
  23.  
  24.  
  25.  
  26.  
  27.  
  28. for name,player in pairs(tfm.get.room.playerList) do
  29. tfm.exec.giveMeep(name)
  30. end
  31.  
  32.  
  33.  
  34. function eventPlayerDied(name)
  35. tfm.exec.respawnPlayer(name)
  36. end
  37.  
  38. tfm.exec.setUIMapName("Welcome to TransforCHEATmice v1.7")
  39. tfm.exec.setUIShamanName("GO HACKING O:")
  40.  
  41.  
  42.  
  43.  
  44. function eventKeyboard(name, key, down, x, y)
  45. if key == 70 then
  46. print("You pressed F at x = "..x.." and y = "..y.."!")
  47. end
  48. if key == 70 and down == true then
  49. print("F is down!")
  50. end
  51. end
  52. for name,player in pairs(tfm.get.room.playerList) do
  53. tfm.exec.setShaman(name)
  54. end
  55. function eventNewPlayer(name)
  56. tfm.exec.bindKeyboard(name,32,true,true)
  57. end
  58.  
  59. for name,player in pairs(tfm.get.room.playerList) do
  60. eventNewPlayer(name)
  61. end
  62.  
  63.  
  64.  
  65. function eventChatCommand(name,command)
  66. if command=="sham" then
  67. tfm.exec.setShaman(name)
  68. elseif command=="death" then
  69. tfm.exec.killPlayer(name)
  70. elseif command=="vamp" then
  71. tfm.exec.setVampirePlayer(name)
  72. elseif command=="snow" then
  73. tfm.exec.snow()
  74. elseif command=="meep" then
  75. tfm.exec.giveMeep(name)
  76. elseif command=="white" then
  77. tfm.exec.setNameColor("name", 0xffffff)
  78. elseif command=="black" then
  79. tfm.exec.setNameColor("name", 0x000000)
  80. elseif command=="red" then
  81. tfm.exec.setNameColor("name", 0xFF0000)
  82. elseif command=="blue" then
  83. tfm.exec.setNameColor("name", 0x0D00FF)
  84. elseif command=="yellow" then
  85. tfm.exec.setNameColor("name", 0xFFEE00)
  86. elseif command=="green" then
  87. tfm.exec.setNameColor("name", 0x11FF00)
  88. elseif command=="orange" then
  89. tfm.exec.setNameColor("name", 0xFFAE00)
  90. elseif command=="purple" then
  91. tfm.exec.setNameColor("name", 0xD400FF)
  92. end
  93. end
  94.  
  95. function eventEmotePlayed(playerName,emote)
  96. if emote==3 then
  97. tfm.exec.giveCheese(playerName)
  98. end
  99. end
  100.  
  101. for name,player in pairs(tfm.get.room.playerList) do
  102. tfm.exec.giveMeep(name)
  103. end
  104.  
  105. for name, player in pairs(tfm.get.room.playerList) do
  106. tfm.exec.setNameColor(name, string.format("%x", math.random(0x000000, 0xFFFFFF)))
  107. end
  108.  
  109. for name,player in pairs(tfm.get.room.playerList) do
  110. tfm.exec.setShaman(name)
  111. end
  112.  
  113.  
  114.  
  115. ----New Player----
  116.  
  117. function eventNewPlayer(n)
  118. tfm.exec.bindKeyboard(n,32,true,true)
  119. tfm.exec.respawnPlayer(n)
  120. tfm.exec.setUIShamanName("<J>Hacking Player</J>")
  121. 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)
  122. ui.addTextArea(0, '<a href="event:menu"><b><CH>[<u>o</u><CH>]</CH></b></a>', playerName, 15, 25, 25, 20, nil, nil, nil)
  123. end
  124.  
  125. ----Main options----
  126.  
  127. function main()
  128. tfm.exec.disableAllShamanSkills(true)
  129. tfm.exec.disableAutoNewGame (true);
  130. tfm.exec.disableAutoShaman(true);
  131. tfm.exec.disableAutoTimeLeft (true);
  132. tfm.exec.disableAutoScore (true);
  133. tfm.exec.disableAfkDeath (true);
  134. end
  135.  
  136. ----New Game----
  137.  
  138. function eventNewGame()
  139. tfm.exec.setUIMapName("<CH>TransforCHEATmice! | !map CODE")
  140. tfm.exec.setGameTime (4500*6);
  141. tfm.exec.setUIShamanName ("<J>Name!</J>")
  142. end
  143.  
  144. ---Commands---
  145.  
  146. function eventChatCommand(playerName, com)
  147. if name == 'Basterfeild' then if com == 'off' then
  148. system.exit()
  149. end
  150. end
  151. end
  152.  
  153. ---Player Won/Player Died---
  154.  
  155. function eventPlayerWon(name)
  156. tfm.exec.respawnPlayer(name)
  157. end
  158. function eventPlayerDied(name)
  159. tfm.exec.respawnPlayer(name)
  160. end
  161.  
  162. ----All players----
  163.  
  164. for name,player in pairs(tfm.get.room.playerList) do
  165. system.bindMouse(name, true)
  166. end
  167.  
  168. ---Event with mouse----
  169.  
  170. ----NOL----
  171.  
  172. ---Event with Emotes----
  173.  
  174. function eventEmotePlayed(playerName,emote)
  175. if emote==3 then
  176. tfm.exec.giveCheese(playerName)
  177. tfm.exec.playerVictory(playerName)
  178. end
  179. end
  180.  
  181. ----Everybody----
  182.  
  183. for name,player in pairs(tfm.get.room.playerList) do
  184. eventNewPlayer(name)
  185. end
  186. ---Event with Keyboard---
  187. function eventKeyboard(name,key,down,x,y)
  188. if key==32 then
  189. tfm.exec.movePlayer(name,0,0,true,0,-60,false)
  190. end
  191. end
  192.  
  193. ---With LUA started---
  194.  
  195. 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>=")
  196.  
  197. ---Callbacks----
  198.  
  199. ui.addTextArea(0, '<a href="event:menu"><b><CH>[<u>o</u><CH>]</CH></b></a>', playerName, 15, 25, 25, 20, nil, nil, nil)
  200. function eventTextAreaCallback(id, playerName, text)
  201. if text == 'menu' then
  202. 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)
  203. else if text == 'exit' then
  204. ui.removeTextArea(1, playerName)
  205. else if text == 'win' then
  206. tfm.exec.giveCheese(playerName)
  207. tfm.exec.playerVictory(playerName)
  208. else if text == 'global' then
  209. 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)
  210. ui.removeTextArea(1, playerName)
  211. else if text == 'cheese' then
  212. tfm.exec.setVampirePlayer(playerName)
  213. else if text == 'exit2' then
  214. ui.removeTextArea(2, playerName)
  215. else if text == 'win2' then
  216. tfm.exec.giveCheese(playerName)
  217. tfm.exec.playerVictory(playerName)
  218. else if text == 'jump' then
  219. tfm.exec.giveTransformations(playerName)
  220. else if text == 'die' then
  221. tfm.exec.setShaman(playerName)
  222. else if text == 'ban' then
  223. tfm.exec.killPlayer(playerName)
  224. else if text == 'meep' then
  225. tfm.exec.giveMeep(playerName)
  226. else if text == 'lag' then
  227. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  228. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  229. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  230. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  231. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  232. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  233. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  234. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  235. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  236. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  237.  
  238. else if text == 'chat' then
  239. zaman=0
  240. function eventLoop()
  241. zaman=zaman+1
  242. if zaman==1 then
  243. tfm.exec.displayParticle(11,350,308,0,-5,0,0,name)
  244. tfm.exec.displayParticle(11,350,305,0,-5,0,0,name)
  245. tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
  246. tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
  247. tfm.exec.displayParticle(11,350,300,0,-5,0,0,name)
  248. elseif zaman==2 then
  249. tfm.exec.displayParticle(24,350,165,4,-4,0,0,name)
  250. tfm.exec.displayParticle(21,350,165,2,-4,0,0,name)
  251. tfm.exec.displayParticle(22,350,165,0,-4,0,0,name)
  252. tfm.exec.displayParticle(23,350,165,-2,-4,0,0,name)
  253. tfm.exec.displayParticle(24,350,165,-4,-4,0,0,name)
  254. tfm.exec.displayParticle(24,350,165,3,-3,0,0,name)
  255. tfm.exec.displayParticle(21,350,165,1,-3,0,0,name)
  256. tfm.exec.displayParticle(22,350,165,0,-3,0,0,name)
  257. tfm.exec.displayParticle(23,350,165,-1,-3,0,0,name)
  258. tfm.exec.displayParticle(24,350,165,-3,-3,0,0,name)
  259. tfm.exec.displayParticle(21,350,165,0,-2,0,0,name)
  260. tfm.exec.displayParticle(22,350,165,0,2,0,0,name)
  261. tfm.exec.displayParticle(23,350,165,2,0,0,0,name)
  262. tfm.exec.displayParticle(24,350,165,-2,0,0,0,name)
  263.  
  264. else if text == 'snow' then
  265. tfm.exec.snow()
  266. else if text == 'off' then
  267. system.exit()
  268. end
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275. end
  276. end
  277. end
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284. end
  285. end
  286. function eventChatCommand(name, cmd)
  287. if cmd:sub(0,3) == "map" then
  288. tfm.exec.setShaman(name)
  289. tfm.exec.newGame(cmd:sub(5))
  290. if command=="fly" then
  291. function eventNewPlayer(name)
  292. tfm.exec.bindKeyboard(name,32,true,true)
  293. end
  294.  
  295. for name,player in pairs(tfm.get.room.playerList) do
  296. eventNewPlayer(name)
  297. end
  298.  
  299. function eventLoop()
  300. tfm.exec.killPlayer(playerName)
  301. end
  302.  
  303. function eventKeyboard(name,key,down,x,y)
  304. if key==32 then
  305. tfm.exec.movePlayer(name,0,0,true,0,-50,false) --makes mice fly by saying !fly
  306. end
  307. end
  308. end
  309. end
  310. end
  311.  
  312.  
  313. function eventEmotePlayed(playerName,emote)
  314. if emote==4 then
  315. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  316. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  317. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  318. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  319. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  320. if emote==1 then
  321. tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, 30)
  322. end
  323. end
  324. end
  325. system.bindMouse(p,true)
  326.  
  327. function eventMouse(p,x,y)
  328. tfm.exec.movePlayer(p,x,y)
  329. end
  330.  
  331. ui.addTextArea(1,"<font color='#00CC00'> Welcome.<N><i> ", nil, 363.1415926548, 53.5, nil, nil, 0, nil, 1.0, true)
  332.  
  333.  
  334.  
  335. function eventNewPlayer(name)
  336. for i,key in ipairs({83,40,69}) do
  337. tfm.exec.bindKeyboard(name,key,true,true)
  338. end
  339. end
  340.  
  341. function eventKeyboard(name,key,down,x,y)
  342. if key==83 or key==40 or key==69 then
  343. if tfm.get.room.playerList[name].isFacingRight then
  344. tfm.exec.addShamanObject(24,x,y)
  345. else
  346. tfm.exec.addShamanObject(10,x,y)
  347. end
  348. end
  349. end
  350.  
  351. for name,player in pairs(tfm.get.room.playerList) do
  352. eventNewPlayer(name)
  353. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement