Advertisement
3liteGamingChannel

:P:P:P:P:P:P:P:P

Jul 9th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.94 KB | None | 0 0
  1. --[[
  2.  
  3. Fixed By ********
  4.  Cheat engine settings:
  5.   - General Settings
  6.    - Even autoattach when another process has already been selected
  7.    - Update interval: 100 ms
  8.   - Debugger Options
  9.    - Use Hardware Breakpoints
  10.    - Use VEH Debugger
  11.  
  12. ]]--
  13.  
  14. local settings, process_opened, address = {
  15.  
  16.  ["process_name"]  = "RobloxPlayerBeta.exe",
  17.  ["byte_sequence"] = "0FB6015EC3CCCCCCCCCCCCCC",
  18.  ["alloc_address"] = "80000000",
  19.  ["alloc_size"]    = "5000000", --- Lower for less lag bigger scripts need more.
  20.  ["main_script"]   =
  21.  
  22. [=====================[
  23.  
  24.  -- Your script there
  25.  wait(10)
  26.  Instance.new("Message", Workspace).Text = "Injected Version 0.2 mew2424 Edition" -- this is just an example
  27.  Game.Players.LocalPlayer.Chatted:connect(function(msg)
  28.   ypcall(loadstring(msg))
  29. wait(10)
  30. game.Workspace.Message:Destroy();
  31.  end)
  32.  
  33.  
  34. ]=====================]
  35.  
  36. },{}
  37.  
  38. stringlist_add(getAutoAttachList(),settings.process_name)
  39.  
  40. function onOpenProcess(process_id)
  41.  if process_opened[process_id] then return end pause() process_opened[process_id] = true
  42.  address = stringlist_getString(AOBScan(settings.byte_sequence), 0)
  43.  debugProcess(2); debug_setBreakpoint(address) unpause()
  44. end
  45.  
  46. function debugger_onBreakpoint()
  47.  if readBytes(EAX+0x3, 1) == 0x0A and readBytes(EAX+0x7, 1) == 0x66 and address then
  48.   pause(); debug_removeBreakpoint(address)
  49.   local alloc_result  = autoAssemble("alloc(_,"..settings.alloc_size..","..settings.alloc_address..")")
  50.   local alloc_address = tonumber("0x"..settings.alloc_address)
  51.   local error_catch   = false
  52.   if alloc_result and readBytes(alloc_address, 1) == 0x0 then
  53.    local base_script = readString(EAX, 25000) or ""
  54.    error_catch       = writeString(alloc_address, base_script..settings.main_script)
  55.    EAX               = error_catch and alloc_address or EAX
  56.    address           = nil
  57.   end
  58.   unpause()
  59.   if not error_catch then
  60.    messageDialog("Injection Failed!", 1, 2)
  61.   end
  62.  end
  63.  return 1
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement