Denis14

Functions

Mar 12th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3. using System.Threading;
  4. using System.Windows.Forms;
  5.  
  6. namespace IceMemeUI
  7. {
  8. class Functions
  9. {
  10. public static string exploitdll = "IceMeme.dll";//this is the name of your dll
  11. public static void Inject()
  12. {
  13. if (NamedPipes.NamedPipeExist(NamedPipes.luacpipename))//check if the pipe exist
  14. {
  15. MessageBox.Show("Already injected!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);//if the pipe exist that's mean that we don't need to inject
  16. return;
  17. }
  18. else if (!NamedPipes.NamedPipeExist(NamedPipes.luacpipename))//check if the pipe don't exist
  19. {
  20. switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + exploitdll))//Process name and dll directory
  21. {
  22. case Injector.DllInjectionResult.DllNotFound://if can't find the dll
  23. MessageBox.Show("Couldn't find " + exploitdll, "Dll was not found!", MessageBoxButtons.OK, MessageBoxIcon.Error);//display messagebox to tell that dll was not found
  24. return;
  25. case Injector.DllInjectionResult.GameProcessNotFound://if can't find the process
  26. MessageBox.Show("Couldn't find RobloxPlayerBeta.exe!", "Target process was not found!", MessageBoxButtons.OK, MessageBoxIcon.Error);//display messagebox to tell that proccess was not found
  27. return;
  28. case Injector.DllInjectionResult.InjectionFailed://if injection fails(this don't work or only on special cases)
  29. MessageBox.Show("Injection Failed!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);//display messagebox to tell that injection failed
  30. return;
  31. }
  32. Thread.Sleep(3000);//pause the ui for 3 seconds
  33. if (!NamedPipes.NamedPipeExist(NamedPipes.luacpipename))//check if the pipe dont exist
  34. {
  35. MessageBox.Show("Injection Failed!\nMaybe you are Missing something\nor took more time to check if was ready\nor other stuff", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);//display that the pipe was not found so the injection was unsuccessful
  36. }
  37. }
  38. }
  39.  
  40. public static string[] TextToBox =
  41. {
  42. //Commands [0]
  43. "\n" +
  44. "Commands:\n" +
  45. "ff [p]\n" +
  46. "heaven [p]\n" +
  47. "ghost [p]\n" +
  48. "statchange [p] [stat] [#]\n" +
  49. "keemstar [p]\n" +
  50. "illuminati [p]\n" +
  51. "duck [p]\n" +
  52. "mlg [p]\n" +
  53. "pussy [p]\n" +
  54. "fog [#]\n" +
  55. "rfog\n" +
  56. "rhat [p]\n" +
  57. "ws [p] [#]\n" +
  58. "sit [p]\n" +
  59. "hipheight [p] [#]\n" +
  60. "jp [p] [#]\n" +
  61. "kill [p]\n" +
  62. "drivebloxmoney [p]\n" +
  63. "gravity [#]\n" +
  64. "btools [p]\n" +
  65. "god [p]\n" +
  66. "bigfire [p]\n" +
  67. "time [#]\n" +
  68. "select [p]\n" +
  69. "fencingr\n" +
  70. "forcechat [p] [blue/red/green]\n" +
  71. "charapp [p] [#]\n" +
  72. "noob [p]\n" +
  73. "fire [p]\n" +
  74. "smoke [p]\n" +
  75. "sethealth [p] [#]\n" +
  76. "addhealth [p] [#]\n" +
  77. "sparkles [p]\n" +
  78. "criminal\n" +
  79. "garage\n" +
  80. "bank\n" +
  81. "prison\n" +
  82. "nodoors\n" +
  83. "banklazers\n" +
  84. "jewelrycameras\n" +
  85. "jewelrylazers\n" +
  86. "jewelryflazers\n" +
  87. "jewelry\n" +
  88. "rickroll\n" +
  89. "ppap\n" +
  90. "billnye\n" +
  91. "illuminati\n" +
  92. "rage\n" +
  93. "cringe\n" +
  94. "clearws\n" +
  95. "unanchorall\n" +
  96. "fecheck\n" +
  97. "play [#]\n" +
  98. "stopmusic\n" +
  99. "insert [#]\n" +
  100. "Some Commands may not work",
  101. //Credits [1]
  102. "\n" +
  103. "Credits:\n" +
  104. "rakion99\n" +
  105. "Roblox\n" +
  106. "Jayden\n" +
  107. "louka for danghui\n" +
  108. "Africaus for pcall bypass\n" +
  109. "VOID for getobjects\n" +
  110. "tepig for Memehax\n" +
  111. "DOGGO bypass/workaround for setting values on non-fe games\n" +
  112. "Eternal for RetCheck\n" +
  113. "AutisticBobby\n" +
  114. "Powered by Lua\n" +
  115. "Powered by cURL\n" +
  116. "ICE By: Josh() and Cosmology"
  117. };
  118.  
  119. public static OpenFileDialog openfiledialog = new OpenFileDialog
  120. {
  121. Filter = "LuaC/Lua Script Txt (*.txt)|*.txt|All files (*.*)|*.*",//add txt and all files filter
  122. FilterIndex = 1,//choose what filter will be the default
  123. RestoreDirectory = true,//restore the last used directory
  124. Title = "IceMeme Lua/LuaC Open Script"//OpenFileDialog Tittle
  125. };//Initialize OpenFileDialog
  126.  
  127. public static void PopulateListBox(ListBox lsb, string Folder, string FileType)
  128. {
  129. DirectoryInfo dinfo = new DirectoryInfo(Folder);
  130. FileInfo[] Files = dinfo.GetFiles(FileType);
  131. foreach (FileInfo file in Files)
  132. {
  133. lsb.Items.Add(file.Name);
  134. }
  135. }
  136.  
  137. public static bool UpdateUI = false;
  138. public static bool UpdateDLL = false;
  139. }
  140. }
Add Comment
Please, Sign In to add comment