View difference between Paste ID: PeqyA2XU and 6kr7dacs
SHOW: | | - or go back to the newest paste.
1
H4X_L3V3L1337 = {}
2
NoRun = {}
3
count = 0
4-
function AddExploit(name, hex, offset, func)
4+
function AddExploit(mnms999, hex, offset, func)
5-
table.insert(H4X_L3V3L1337, { name, hex, offset, func })
5+
table.insert(H4X_L3V3L1337, { mnms999, hex, offset, func })
6
end
7
function sdgsdgsdfgsdvb(index)
8
local tab = H4X_L3V3L1337[index]
9
local scan = createMemScan(true)
10
memscan_returnOnlyOneResult(scan, true)
11
memscan_firstScan(scan, soExactValue, vtByteArray, rtTruncated, table.concat(tab[2], " "), nil, 0x00000000, 0x05F00000, "", fsmNotAligned, nil, false, false, false, false)
12
memscan_waitTillDone(scan)
13
local result = memscan_getOnlyResult(scan)
14
if (result == nil) then return nil end
15
result = result + tab[3]
16
result = string.format("%x", result)
17
result = string.rep("0", 8-#result) .. result
18
return result
19
end
20
AddExploit("hax", {0x83, 0xEC, 0x08, 0x8B, 0xCC, 0x89, 0x01, 0x8B, 0x56, 0x04}, 0x2C, yolo)
21
function hjlhj()
22
for i,v in pairs(H4X_L3V3L1337) do
23
local h3x = sdgsdgsdfgsdvb(i)
24
if h3x == nil then
25
showMessage("omg no levels!")
26
else
27
return h3x
28
end
29
end
30
end
31
32
function xppl()
33
asdasfasf={0xC7, 0x00, 0x00, 0x00, 0x00, 0x5E, 0x8B, 0xE5, 0x5D, 0xC3}
34
table.insert(asdasfasf,3,0+3+4*1)
35
pause();
36
writeBytes(hjlhj(),asdasfasf)
37
unpause();
38
end
39
40
function chck(_)
41
local rd = getProcessIDFromProcessName("RobloxPlayerBeta.exe");
42
if rd ~= nil then
43
for i, v in pairs(NoRun) do
44
if v == rd then
45
return
46
end
47
end
48
table.insert(NoRun, rd);
49
openProcess(rd);
50
xppl()
51
end
52
end
53
t = createTimer(nil)
54
timer_setInterval(t, 500)
55
timer_onTimer(t, chck)
56
timer_setEnabled(t, true)