Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- updated 30-09-2014
- this script gives a player infinite health (still has bugs, updates monthly)
- use this script on cheat engine 6.3 or higher (NOT LOWER)
- programmed by NewtPewt
- ]]--
- showmessage"Programmed by Newt | Edited by silentcowz for The Codebook"
- attached = false
- timer = createtimer(nil)
- memscancount = 0
- memscancountmax = 10
- processfound = function()
- local scan = creatememscan(true)
- memscan_returnonlyoneresult(scan, true)
- memscan_firstscan(scan, soexactvalue, vtbytearray, rttruncated, "D9 00 8B 46 20 8B 8A 2C 01 00 00 D9 1C 24 8B", nil, 0x00000000, 0xFFFFFFFF, "*w", fsmnotaligned, nil, true, false, false, false)
- local result = memscan_getonlyresult(scan)
- if result == nil then
- memscancount = memscancount + 1
- if not (memscancount > memscancountmax) then
- sleep(100)
- processfound()
- else
- showmessage"Failed to hook to ROBLOX. Please restart Cheat Engine."
- end
- else
- result = string.format("%x", result)
- result = ("0"):rep(8 - #result) .. result
- writebytes(result, 0x90, 0x90)
- end
- end
- timer_setinterval(timer, 100)
- timer_ontimer(timer, function()
- if getprocessiffromprocessname"RobloxPlayerBeta.exe" then
- if not attached then
- attached = true
- openprocess(getprocessidfromprocessname"RobloxPlayerBeta.exe"
- processfound()
- end
- else
- attached = false
- end
- end)
Add Comment
Please, Sign In to add comment