0% found this document useful (0 votes)
389 views12 pages

Ghost42 GG Script

Uploaded by

shadowstorm00077
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
389 views12 pages

Ghost42 GG Script

Uploaded by

shadowstorm00077
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 12

--

-- Hello There, Die440 here, and i see you curios about my code lul
-- Just a note Curios Peoples, I will not obfuscate this code for a reason it
already
-- available on GameGuardian.net Thread, so i don't bother obfuscate it, since most
-- people already know about the pointers and such...
-- So yeah feel free to read the code and learn about it
-- I create this Script from my poorly learnt LUA.
-- Fun Fact, i created this after i learn LUA 3 days prior this script made.
--
--
-- This script will save the results on SaveList for manual use if you don't want
the
-- menu interfering with your queries and such...
--
-- Anyway Enjoy fellas

-- Infos
local Name = [=====[ReVoltEd]=====]
local Version = '2.0.0'
local Author = '🐺 Angel Wolf '
local AuthorGG = '(@die440 on GameGuardian.net)'
local Target = [=====[Day R Survival v.730+]=====]

-- init GG
gg.toast(Name..' v'..Version..' by '..Author..'\n for '..Target)

-- Utils Functions
function SpriteCheck(e)
if e == true then return "✅" else return "❌" end
end

function findByName(tabled, q)
tempr = {}
string.startswith = function(self, str)
return self:find('^' .. str) ~= nil
end

for _, v in ipairs(tabled) do
if type(v) == 'table' then
do
if v.name and v.name:startswith(q) then
tempr[#tempr+1] = v
end
end
end
end
return tempr
end

-- Main Functions
function Update(Query, t, newValue, valueType)
get_data = gg.getListItems()
filtered = findByName(get_data, Query)
gg.loadResults(filtered)
gg.getResults(t)
gg.editAll(newValue, valueType)
end
-- Init Scripts
AngelWolf = 1

HasBeenLoadedBefore = false

Level_Enabled = false
Carry_Enabled = false
Speed_Enabled = false
AmBroke_Enabled = false
NoLimit_Enabled = false

SaveListed = {
S_LV = false,
S_CW = false,
S_CS = false,
}

-- Cheat Names
Cheat_Level = "Instant_Leveling"
Cheat_Carry = "Carry_Capacity"
Cheat_Speed = "Player_Speed"
Cheat_AmBroke = "AB_"
Cheat_NoLimit = "NL_"

-- Le Menu
function menu()
AngelWolf = 0

I_Level = SpriteCheck(Level_Enabled)
I_Carry = SpriteCheck(Carry_Enabled)
I_Speed = SpriteCheck(Speed_Enabled)
I_Currs = SpriteCheck(AmBroke_Enabled)
I_Needs = SpriteCheck(NoLimit_Enabled)

CheatMenu = gg.choice({
"[] Information",
"["..I_Level.."] Instant Leveling",
"["..I_Carry.."] Infinite Carry Capacity",
"["..I_Speed.."] Player SpeedHack",
"["..I_Currs.."] Base Currency Hack",
"[] Uncapped Needs",
"[] Battle Hacks",
"[🔓] Remove MiniLoc Locks",
"[🔎] 100%+ Search Chance",
"[🦊] Pet Swapper ✪",
"[🔜] In-Dev Hacks",
"[🚪] Exit",
},nil,Name.." By "..Author..AuthorGG)
--✪
if CheatMenu == 1 then
s = gg.alert("This is script for Day R Survival\nAny hacks options that
ends with ✪ is VIP hacks and it's require VIP version.\nFor Now VIP version isn't
available yet.\n\nSupport me By Donating Here:\nhttps://paypal.me/alixymizuki",
"Donate", "Ok")
if s == 1 then
gg.copyText("https://paypal.me/alixymizuki")
gg.toast("Paypal Link Copied to Clipboard")
end
end
if CheatMenu == 2 then EditLevel() end
if CheatMenu == 3 then EditCarry() end
if CheatMenu == 4 then EditSpeed() end
if CheatMenu == 5 then EditAmBroke() end
if CheatMenu == 6 then
gg.clearResults()
gg.searchNumber("327,613,640", gg.TYPE_DWORD)
FS = gg.getResults(1)

gg.clearResults()
gg.searchNumber(FS[1].address - 0xC, gg.TYPE_QWORD)
SHTable = gg.getResults(gg.getResultsCount())

for i, v in ipairs(SHTable) do
v.address = v.address + 0x20
v.flags = gg.TYPE_DOUBLE
end
gg.loadResults(SHTable)

gg.refineNumber("100", gg.TYPE_DOUBLE)
reb = gg.getResults(100)

for i, v in ipairs(reb) do
v.address = v.address + 0x70
v.flags = gg.TYPE_DOUBLE
end
gg.loadResults(reb)
gg.refineNumber("100", gg.TYPE_DOUBLE)
rx = {}
fin = gg.getResultsCount()
if fin > 0 then
final = gg.getResults(1)
rx[1]= { address= final[1].address - 0x70, flags= gg.TYPE_DOUBLE }
rx[2]= { address= final[1].address, flags= gg.TYPE_DOUBLE }
rx[3]= { address= rx[2].address + 0x70, flags= gg.TYPE_DOUBLE }
rx[4]= { address= rx[3].address + 0x70, flags= gg.TYPE_DOUBLE }

gg.loadResults(rx)
gg.getResults(gg.getResultsCount())
gg.editAll("1.8E100", gg.TYPE_DOUBLE)
gg.toast('Player Stats is Uncapped')
end
end

if CheatMenu == 7 then
BattleChoice = gg.multiChoice({
"Bring more than 1 Pets",
"Bring more than 3 Weapons",
"1000 Starting AP",
"1000 AP Refill",
"1000 AP Limit",
}, {}, 'Selected Hacks: ')

if BattleChoice == nil then


gg.alert('Canceled')
else
gg.clearResults()
function getRad()
gg.clearResults()
gg.searchNumber("-255834454", gg.TYPE_DWORD)
rad = gg.getResults(1)
for _,v in ipairs(rad) do
v.address = v.address - 0xC
v.flags = gg.TYPE_QWORD
end
return rad
end
---[==
if BattleChoice[1] then
rop = getRad()
gg.clearResults()
gg.searchNumber("1928888296", gg.TYPE_DWORD)
AlStatic = gg.getResults(1)
gg.clearResults()
gg.searchNumber(AlStatic[1].address - 0xC, gg.TYPE_QWORD)
kk = gg.getResults(gg.getResultsCount())
for _,v in ipairs(kk) do
v.flags = gg.TYPE_QWORD
end
gg.loadResults(kk)
gg.getResults(gg.getResultsCount())
gg.editAll(rop[1].address, gg.TYPE_QWORD)
gg.toast("You can Bring more than 1 pet now", false)
end
if BattleChoice[2] then
rop = getRad()
gg.clearResults()
gg.searchNumber("1603392609", gg.TYPE_DWORD)
AlStatic = gg.getResults(1)
gg.clearResults()
gg.searchNumber(AlStatic[1].address - 0xC, gg.TYPE_QWORD)
kk = gg.getResults(gg.getResultsCount())
for _,v in ipairs(kk) do
v.flags = gg.TYPE_QWORD
end
gg.loadResults(kk)
gg.getResults(gg.getResultsCount())
gg.editAll(rop[1].address, gg.TYPE_QWORD)
gg.toast("You can Bring more than 3 weapons now", false)
end
if BattleChoice[3] then
gg.clearResults()
gg.searchNumber("1986714066", gg.TYPE_DWORD)
SAPStatic = gg.getResults(gg.getResultsCount())
for i,v in ipairs(SAPStatic) do
gg.clearResults()
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i, v in ipairs(ctx) do
v.address = v.address + 0x20
v.flags = gg.TYPE_DOUBLE
end

gg.loadResults(ctx)
gg.refineNumber('1', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
gg.getResults(1)
gg.editAll("1000", gg.TYPE_DOUBLE)
gg.toast("Starting AP is now 1000", false)
break
end
end
end
if BattleChoice[4] then
gg.clearResults()
gg.searchNumber("1470116942", gg.TYPE_DWORD)
APRStatic = gg.getResults(gg.getResultsCount())
for i,v in ipairs(APRStatic) do
gg.clearResults()
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i,v in ipairs(ctx) do
v.address = v.address + 0x30
v.flags = gg.TYPE_DOUBLE
end
gg.loadResults(ctx)
gg.refineNumber('1', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
gg.getResults(fc)
gg.editAll("1000", gg.TYPE_DOUBLE)
gg.toast("AP now refill by 1000", false)
else
gg.toast("ERR: Cannot find AP Refill", false)
end
end
end
if BattleChoice[5] then
gg.clearResults()
gg.searchNumber("327613635", gg.TYPE_DWORD)
SAPStatic = gg.getResults(gg.getResultsCount())
for i,v in ipairs(SAPStatic) do
gg.clearResults()
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i, v in ipairs(ctx) do
v.address = v.address + 0x20
v.flags = gg.TYPE_DOUBLE
end

gg.loadResults(ctx)
gg.refineNumber('3', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
gg.getResults(fc)
gg.editAll("1000", gg.TYPE_DOUBLE)
gg.toast("AP Limit is now 1000", false)
break
end
end
end
return gg.clearResults()
--]==]
end
end

if CheatMenu == 8 then
gg.clearResults()
gg.searchNumber("283147209", gg.TYPE_DWORD)
FS = gg.getResults(1)

gg.clearResults()
gg.searchNumber(FS[1].address - 0xC, gg.TYPE_QWORD)

SHTable = gg.getResults(gg.getResultsCount())
for i, v in ipairs(SHTable) do
v.address = v.address + 0x18
v.flags = gg.TYPE_DOUBLE
end
-- Filter Mult
gg.loadResults(SHTable)
gg.refineNumber("5", gg.TYPE_DOUBLE)
tabl = gg.getResults(gg.getResultsCount())
gg.editAll("0", gg.TYPE_DOUBLE)

-- Filter Energy
gg.clearResults()
for _,v in ipairs(tabl) do
v.address = v.address + 0x28
end
gg.loadResults(tabl)
gg.sleep(200)
gg.refineNumber('5~60', gg.TYPE_DOUBLE)
Bob = gg.getResults(gg.getResultsCount())
gg.editAll("0", gg.TYPE_DOUBLE)

-- Filter Time Spent


gg.clearResults()
for _,v in ipairs(tabl) do
v.address = v.address - 0xA0
end

gg.loadResults(tabl)
gg.sleep(200)
gg.refineNumber('15~90', gg.TYPE_DOUBLE)
Bob = gg.getResults(gg.getResultsCount())
gg.editAll("0", gg.TYPE_DOUBLE)
gg.toast("All Done")
end
if CheatMenu == 9 then
gg.clearResults()
gg.searchNumber("227220", gg.TYPE_DWORD)
count = gg.getResultsCount()
res = gg.getResults(count)
gg.clearResults()
for i,v in ipairs(res) do
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i, v in ipairs(ctx) do
v.address = v.address + 0x10
v.flags = gg.TYPE_DOUBLE
end

gg.loadResults(ctx)
gg.refineNumber('-0.95', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
gg.getResults(fc)
gg.editAll("1000", gg.TYPE_DOUBLE)
gg.toast("Search Chance Now 100000%")
break
end
end
end
if CheatMenu == 10 then
gg.alert('VIP')
end
if CheatMenu == 11 then
haks = gg.choice({
"Item Swapper",
"Weapon Damage Hacks",
"Armor Hacks",
"Teleports",
},nil,"Stuffies that will be added on later, No ETA, some Option
probably be in VIP list")
if haks ~= nil then gg.alert('Coming Soon, gotta wait yk') end
end
if CheatMenu == 12 then
gg.alert('Thanks for using the Script and all used values saved on the
List to be use for manual use.')
print("Script was made By "..Author)
os.exit()
end
end

-- ============================= Loader =============================


function LoadSpeed()
gg.clearResults()
gg.searchNumber("1,552,129,607", gg.TYPE_DWORD)
FS = gg.getResults(1)

gg.clearResults()
gg.searchNumber(FS[1].address - 0xC, gg.TYPE_QWORD)

PFS = gg.getResultsCount()
SHTable = gg.getResults(PFS)

for i, v in ipairs(SHTable) do
v.address = v.address + 0x20
v.flags = gg.TYPE_DOUBLE
end
gg.loadResults(SHTable)

gg.refineNumber("0.85", gg.TYPE_DOUBLE)
reb = gg.getResults(1000)
for i,v in ipairs(reb) do
v.name = Cheat_Speed
end
gg.addListItems(reb)
end

function LoadCC()
gg.clearResults()
gg.searchNumber("281013069", gg.TYPE_DWORD)
count = gg.getResultsCount()
res = gg.getResults(count)
gg.clearResults()
for i,v in ipairs(res) do
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i, v in ipairs(ctx) do
v.address = v.address - 0x10
v.flags = gg.TYPE_DOUBLE
end

gg.loadResults(ctx) -- load pointers2


gg.refineNumber('0.05', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
xa = gg.getResults(fc)
for i, v in ipairs(xa) do
v.name = Cheat_Carry
end
gg.addListItems(xa)
break
end
end
end

function LoadLevel()
gg.clearResults()
gg.searchNumber("304590354", gg.TYPE_DWORD)
count = gg.getResultsCount()
res = gg.getResults(count)
gg.clearResults()
for i,v in ipairs(res) do
gg.searchNumber(v.address - 0xC, gg.TYPE_QWORD)
rcount = gg.getResultsCount()
ctx = gg.getResults(rcount)
for i, v in ipairs(ctx) do
v.address = v.address + 0x10
v.flags = gg.TYPE_DOUBLE
end

gg.loadResults(ctx) -- load pointers2


gg.refineNumber('0.5', gg.TYPE_DOUBLE)
fc = gg.getResultsCount()
if fc > 0 then
xa = gg.getResults(fc)
for i, v in ipairs(xa) do
v.name = Cheat_Level
end
gg.addListItems(xa)
break
end
end
end

function LoadAmBroke()
gg.clearResults()
gg.searchNumber("-108,476,332", gg.TYPE_DWORD)
FS = gg.getResults(1)

gg.clearResults()
gg.searchNumber(FS[1].address - 0xC, gg.TYPE_QWORD)

PFS = gg.getResultsCount()
SHTable = gg.getResults(PFS)

for i, v in ipairs(SHTable) do
v.address = v.address + 0x18
v.flags = gg.TYPE_DOUBLE
end
gg.loadResults(SHTable)

gg.refineNumber("0.25", gg.TYPE_DOUBLE)
con = gg.getResultsCount()
reb = gg.getResults(1)

if con > 0 then


reb[1].name = Cheat_AmBroke.."Iron_nut"
reb[2] = {
address= reb[1].address - 0x28,
name = Cheat_AmBroke.."Black_ruble",
flags= gg.TYPE_DOUBLE,
}
reb[3] = {
address= reb[1].address + 0x28,
name = Cheat_AmBroke.."Hall_Souls",
flags= gg.TYPE_DOUBLE,
}
reb[4] = {
address= reb[3].address + 0x28, --0x50
name = Cheat_AmBroke.."Ration_card",
flags= gg.TYPE_DOUBLE,
}
gg.addListItems(reb)
end
end

-- ============================= Menus Function calls =============================


function EditLevel()
if Level_Enabled == true then
Update(Cheat_Level, 50, "0.5", gg.TYPE_DOUBLE)
gg.toast('Instant Leveling for MC and Pets is Reverted to Normal')
Level_Enabled = false
else
Update(Cheat_Level, 50, "1", gg.TYPE_DOUBLE)
gg.toast('Instant Leveling for MC and Pets is Enabled')
Level_Enabled = true
end
end
function EditSpeed()
if Speed_Enabled == true then
chc = gg.choice({ "Change Speed","Revert Back" })
if chc == 1 then
nip =gg.prompt({'Input new value below'}, {[1]='0.85'},
{[1]='number'})
if nip ~= nil then
Update(Cheat_Speed, 50, nip[1], gg.TYPE_DOUBLE)
gg.toast('Player Speed is set to '..nip[1]..'x')
else
gg.toast('You have cancelled the changes')
end
elseif chc == 2 then
Update(Cheat_Speed, 50, "0.85", gg.TYPE_DOUBLE)
gg.toast('Player Speed is Reverted to Normal')
Speed_Enabled = false
else
gg.toast('You have cancelled the changes')
end
else
sphx = gg.choice({ "10x", "25x", "50x", "Custom Input"},nil,"Set Player
Speed")

get_data = gg.getListItems()
filtered = findByName(get_data, "Player_")
gg.loadResults(filtered)
gg.getResults(50)
Speed_Enabled = true
if sphx == 1 then gg.editAll("10", gg.TYPE_DOUBLE) gg.toast('Player
Speed is set to 10x') end
if sphx == 2 then gg.editAll("25", gg.TYPE_DOUBLE) gg.toast('Player
Speed is set to 25x') end
if sphx == 3 then gg.editAll("50", gg.TYPE_DOUBLE) gg.toast('Player
Speed is set to 50x') end
if sphx == 4 then
input=gg.prompt({'Input your value below'}, {[1]='0.85'},
{[1]='number'})
if input ~= nil then
gg.editAll(input[1], gg.TYPE_DOUBLE) gg.toast('Player Speed
is set to '..input[1]..'x')
else
Speed_Enabled = false gg.alert('You have cancelled the
changes')
end
end
end
end

function EditCarry()
if Carry_Enabled == false then
Update(Cheat_Carry, 50, "1.8E307", gg.TYPE_DOUBLE)
gg.toast('Carry Capacity is Changed to Infinite')
Carry_Enabled = true
else
Update(Cheat_Carry, 50, "0.05", gg.TYPE_DOUBLE)
gg.toast('Carry Capacity is Reverted to Normal')
Carry_Enabled = false
end
end

function EditAmBroke()
if AmBroke_Enabled == false then
choco = gg.choice({"Inflates Currency", "Everything Cheap"})
if choco == 1 then
Update(Cheat_AmBroke, 50, "0.001", gg.TYPE_DOUBLE)
gg.alert('Base Currency now Inflated, good for quest reward')
AmBroke_Enabled = true
end
if choco == 2 then
Update(Cheat_AmBroke, 50, "5000", gg.TYPE_DOUBLE)
gg.alert('Survivor Base Now Cheap, good for buying and fixing stuff')
AmBroke_Enabled = true
end
else
choco = gg.choice({"Inflates Currency", "Everything Cheap", "Revert"})
if choco == 1 then
Update(Cheat_AmBroke, 50, "0.001", gg.TYPE_DOUBLE)
gg.alert('Base Currency now Inflated, good for quest reward')
AmBroke_Enabled = true
end
if choco == 2 then
Update(Cheat_AmBroke, 50, "5000", gg.TYPE_DOUBLE)
gg.alert('Survivor Base Now Cheap, good for buying and fixing stuff')
AmBroke_Enabled = true
end
if choco == 3 then
Update(Cheat_AmBroke.."Iron", 1, "0.25", gg.TYPE_DOUBLE)
Update(Cheat_AmBroke.."Black", 1, "0.5", gg.TYPE_DOUBLE)
Update(Cheat_AmBroke.."Hall", 1, "1", gg.TYPE_DOUBLE)
Update(Cheat_AmBroke.."Ration", 1, "0.25", gg.TYPE_DOUBLE)
gg.toast('Currency Modifier reverted"')
AmBroke_Enabled = false
end
end
end

-- ============================= DERPY BOIII =============================


while true do
if gg.isVisible(true) then
AngelWolf = 1
gg.setVisible(false)

if HasBeenLoadedBefore == false then


get_s_data = gg.getListItems()
isSH = findByName(get_s_data, Cheat_Speed)
isCC = findByName(get_s_data, Cheat_Carry)
isIL = findByName(get_s_data, Cheat_Level)

if (#isIL > 0) then


S_IL = true
if isIL[1].value ~= '0.5' then SaveListed.S_LV = true end
end
if (#isCC > 0) then
S_CC = true
if isCC[1].value ~= '0.05' then SaveListed.S_CW = true end
end
if (#isSH > 0) then
S_SH = true
if isSH[1].value ~= '0.85' then SaveListed.S_LV = true end
end
end
end
if AngelWolf == 1 then
if HasBeenLoadedBefore == false then
if SaveListed.S_LV == false then LoadLevel() end
if SaveListed.S_CW == false then LoadCC() end
if SaveListed.S_LV == false then LoadSpeed() end
LoadAmBroke()
--LoadNoLimit()
HasBeenLoadedBefore = true
end

if HasBeenLoadedBefore == true then gg.sleep(200) end


menu()
end
end

-- I like Wolf :3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy