-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.lua
More file actions
400 lines (356 loc) · 11.4 KB
/
Copy pathscript.lua
File metadata and controls
400 lines (356 loc) · 11.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
-- some random script i pulled off of GameGuardian's website
-- credit goes to ZineaHUN i guess.
function Complier(A0_24)
end
gg.toast("By ZineaHUN")
gg.alert("Always seek the way that is fair to others. The opportunity itself is not a fraud. At that moment you cheat as soon as you are not fair to the other fair players.")
function START()
menu = gg.multiChoice({"Speedhack (slow) (Just backwards)ON","Speedhack (slow) (Just backwards)OFF","Speedhack very fast speed Oo (Just backwards)ON","Speedhack very fast speed Oo (Just backwards)OFF","Speedhack ON","Speedhack OFF","Server synchronization ON","Server synchronization OFF","Teleport","Maximum distance from character ON","Maximum distance from character OFF","Exit"},nil,"By ZineaHUN")
if menu == nil then
else
if menu[1] == true then
mn1()
end
if menu[2] == true then
mn2()
end
if menu[3] == true then
mn3()
end
if menu[4] == true then
mn4()
end
if menu[5] == true then
mn5()
end
if menu[6] == true then
mn6()
end
if menu[7] == true then
mn7()
end
if menu[8] == true then
mn8()
end
if menu[9] == true then
mn9()
end
if menu[10] == true then
mn10()
end
if menu[11] == true then
mn11()
end
if menu[12] == true then
exit()
end
end
AGYT = -1
end
function mn1()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack slow just backwards ON!')
gg.clearResults(950)
gg.searchNumber('0.4000000000596', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('0.4000000000596', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(950)
print('Replaced: ', gg.editAll('5', gg.TYPE_FLOAT))
gg.toast(' Speedhack slow just backwards ON, activated! ')
end
function mn2()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack slow just backwards OFF!')
gg.clearResults(950)
gg.searchNumber('5', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('5', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(950)
print('Replaced: ', gg.editAll('0.4000000000596', gg.TYPE_FLOAT))
gg.toast(' Speedhack slow just backwards OFF, activated ')
end
function mn3()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack very fast, just backwards ON')
gg.clearResults(950)
gg.searchNumber('0.4000000000596', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('0.4000000000596', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(950)
print('Replaced: ', gg.editAll('30', gg.TYPE_FLOAT))
gg.toast(' Speedhack very fast, just backwards ON, activated! ')
end
function mn4()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack very fast, just backwards OFF')
gg.clearResults(950)
gg.searchNumber('30', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('30', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(950)
print('Replaced: ', gg.editAll('0.4000000000596', gg.TYPE_FLOAT))
gg.toast(' Speedhack very fast, just backwards OFF, activated! ')
end
function mn5()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack ON!')
gg.clearResults(14)
gg.searchNumber("0.001;180;-180::25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(14)
print('Replaced: ', gg.editAll("0.003", gg.TYPE_FLOAT))
gg.toast(' Speedhack ON, activated! ')
end
function mn6()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting Speedhack OFF!')
gg.clearResults(1)
gg.searchNumber("0.003;360;-360::25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.003", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(1)
print('Replaced: ', gg.editAll("0.001", gg.TYPE_FLOAT))
gg.toast(' Speedhack OFF, activated! ')
end
function mn7()
gg.setRanges(gg.REGION_C_DATA)
gg.toast('Starting Sync (forward) ON')
gg.clearResults(900)
gg.searchNumber('1148846080', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('1148846080', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(900)
print(' Replaced: ', gg.editAll('-10', gg.TYPE_DWORD))
gg.toast(' Starting Sync (foward) ON ' )
end
function mn8()
gg.setRanges(gg.REGION_C_DATA)
gg.toast('Starting Sync OFF')
gg.clearResults(900)
gg.searchNumber('-10', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('-10', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(900)
print(' Replaced: ', gg.editAll('1148846080', gg.TYPE_DWORD))
gg.toast(' Starting Sync OFF ')
end
function mn9()
gg.setRanges(gg.REGION_C_ALLOC)
gg.clearResults()
gg.searchNumber("522;-1;2;-1;-1;1,065,353,216;0~~522;0~~522;0~~522;-1::373",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.refineNumber("1065353216;0~~522;0~~522;0~~522;-1::273", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("0~~522;0~~522;0~~522;-1::165", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.addListItems(t)
t=nil
OO()
end
function OO()
XO1=1
XOX1=-1
menu1 = gg.choice({
'Teleport coordinates1',
'Teleport coordinates2',
'Teleport coordinates3',
'Teleport coordinates4',
'Teleport coordinates5',
'Teleport coordinates6',
'Teleport coordinates7',
'Teleport coordinates8',
'Teleport coordinates9',
'Teleport coordinates10',
'Teleport coordinates11',
'Teleport coordinates12',
'Teleport coordinates13',
'Clear the record and take the point again!',
'go back to the last page'},
nil,'Go to the coordinate point that needs to be recorded and select a coordinate point. The first click is to take the point, and then click to teleport the position directly!')
if menu1 == 1 then oo1() end
if menu1 == 2 then oo2() end
if menu1 == 3 then oo3() end
if menu1 == 4 then oo4() end
if menu1 == 5 then oo5() end
if menu1 == 6 then oo6() end
if menu1 == 7 then oo7() end
if menu1 == 8 then oo8() end
if menu1 == 9 then oo9() end
if menu1 == 10 then oo10() end
if menu1 == 11 then oo11() end
if menu1 == 12 then oo12() end
if menu1 == 13 then oo13() end
if menu1 == 14 then oo14() end
if menu1 == 15 then XO1=nil HOME() end
if XO1 == 1 then
while(true)do
if gg.isVisible(true) then
XOX1=1
gg.setVisible(false)
end
if XOX1==1 then
OO()
end
end
end
end
function oo1()
if revert1 == nil then
revert1 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert1 ~= nil then gg.setValues(revert1)
gg.toast("Teleport success!")
end
end
function oo2()
if revert2 == nil then
revert2 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert2 ~= nil then gg.setValues(revert2)
gg.toast("Teleport success!")
end
end
function oo3()
if revert3 == nil then
revert3 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert3 ~= nil then gg.setValues(revert3)
gg.toast("Teleport success!")
end
end
function oo4()
if revert4 == nil then
revert4 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert4 ~= nil then gg.setValues(revert4)
gg.toast("Teleport success!")
end
end
function oo5()
if revert5 == nil then
revert5 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert5 ~= nil then gg.setValues(revert5)
gg.toast("Teleport success!")
end
end
function oo6()
if revert6 == nil then
revert6 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert6 ~= nil then gg.setValues(revert6)
gg.toast("Teleport success!")
end
end
function oo7()
if revert7 == nil then
revert7 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert7 ~= nil then gg.setValues(revert7)
gg.toast("Teleport success!")
end
end
function oo8()
if revert8 == nil then
revert8 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert8 ~= nil then gg.setValues(revert8)
gg.toast("Teleport success!")
end
end
function oo9()
if revert9 == nil then
revert9 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert9 ~= nil then gg.setValues(revert9)
gg.toast("Teleport success!")
end
end
function oo10()
if revert10 == nil then
revert10 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert10 ~= nil then gg.setValues(revert10)
gg.toast("Teleport success!")
end
end
function oo11()
if revert11 == nil then
revert11 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert11 ~= nil then gg.setValues(revert11)
gg.toast("Teleport success!")
end
end
function oo12()
if revert12 == nil then
revert12 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert12 ~= nil then gg.setValues(revert12)
gg.toast("Teleport success!")
end
end
function oo13()
if revert13 == nil then
revert13 = gg.getResults(3, nil, nil, nil, nil, nil, nil, nil, nil)
gg.toast("Take the point successfully, click again to teleport this position directly!")
end
if revert13 ~= nil then gg.setValues(revert12)
gg.toast("Teleport success!")
end
end
function oo14()
revert1 = nil
revert2 = nil
revert3 = nil
revert4 = nil
revert5 = nil
revert6 = nil
revert7 = nil
revert8 = nil
gg.toast("The coordinate record is cleared! Please take another point!")
end
function mn10()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting maxdistance ON !')
gg.clearResults(850)
gg.searchNumber('9', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('9', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(850)
print('Replaced: ', gg.editAll('19164', gg.TYPE_DWORD))
gg.toast('Maxdistance ON, activated! ')
end
function mn11()
gg.setRanges(gg.REGION_CODE_APP)
gg.toast('Starting maxdistance OFF!')
gg.clearResults(850)
gg.searchNumber('19164', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('19164', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(850)
print('Replaced: ', gg.editAll('9', gg.TYPE_DWORD))
gg.toast('Maxdistance OFF, activated! ')
end
function HOME()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_CODE_APP)
gg.toast("HOME")
print('HOME')
START()
end
function exit()
gg.alert("Thanks to everyone for helping, without whom this script could not have been created! Special thanks to the creator of the Hackers house youtube channel! Good game for everyone! ZineaHUN")
gg.copyText("https://m.youtube.com/channel/UC4FquNZKdBgMY1sCNBqg_gA")
os.exit()
end
while true do
if gg.isVisible(true) then
AGYT = 1
gg.setVisible(false)
end
if AGYT == 1 then
START()
end
end