Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Fixed By ********
- Cheat engine settings:
- - General Settings
- - Even autoattach when another process has already been selected
- - Update interval: 100 ms
- - Debugger Options
- - Use Hardware Breakpoints
- - Use VEH Debugger
- ]]--
- local settings, process_opened, address = {
- ["process_name"] = "RobloxPlayerBeta.exe",
- ["byte_sequence"] = "0FB6015EC3CCCCCCCCCCCCCC",
- ["alloc_address"] = "80000000",
- ["alloc_size"] = "5000000", --- Lower for less lag bigger scripts need more.
- ["main_script"] =
- [=====================[
- -- Your script there
- wait(10)
- Instance.new("Message", Workspace).Text = "Injected Version 0.2 mew2424 Edition" -- this is just an example
- Game.Players.LocalPlayer.Chatted:connect(function(msg)
- ypcall(loadstring(msg))
- wait(10)
- game.Workspace.Message:Destroy();
- end)
- ]=====================]
- },{}
- stringlist_add(getAutoAttachList(),settings.process_name)
- function onOpenProcess(process_id)
- if process_opened[process_id] then return end pause() process_opened[process_id] = true
- address = stringlist_getString(AOBScan(settings.byte_sequence), 0)
- debugProcess(2); debug_setBreakpoint(address) unpause()
- end
- function debugger_onBreakpoint()
- if readBytes(EAX+0x3, 1) == 0x0A and readBytes(EAX+0x7, 1) == 0x66 and address then
- pause(); debug_removeBreakpoint(address)
- local alloc_result = autoAssemble("alloc(_,"..settings.alloc_size..","..settings.alloc_address..")")
- local alloc_address = tonumber("0x"..settings.alloc_address)
- local error_catch = false
- if alloc_result and readBytes(alloc_address, 1) == 0x0 then
- local base_script = readString(EAX, 25000) or ""
- error_catch = writeString(alloc_address, base_script..settings.main_script)
- EAX = error_catch and alloc_address or EAX
- address = nil
- end
- unpause()
- if not error_catch then
- messageDialog("Injection Failed!", 1, 2)
- end
- end
- return 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement