Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script:
- function scanAob(array)
- result = nil
- scan = createMemScan(true)
- memscan_returnOnlyOneResult(scan, true)
- memscan_firstScan(scan, soExactValue, vtByteArray, rtTruncated, array, nil, 0x00000000, 0xFFFFFFFF, "*W", fsmNotAligned, nil, true, false, false, false)
- memscan_waitTillDone(scan)
- result = memscan_getOnlyResult(scan)
- result = string.format("%x", result)
- result = ("0"):rep(8-#result) .. result
- end
- print("Initiating...")
- fly = scanAob("00 00 00 00 01 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 22")
- print("Done.")
- function setFlyOn()
- for i = 1,2 do
- writeBytes(result, 00, 00, 01)
- sleep(10)
- writeBytes(result, 00, 00, 00)
- end
- end
- createHotkey(setFlyOn, VK_SPACE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement