local s = gg.prompt(
{"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ᴄᴀᴛ ᴛɪᴄᴋᴇᴛ◄★: [1;50]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ʀᴀʀᴇ ᴛɪᴄᴋᴇᴛ◄★: [1;50]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ʟᴜᴄᴋʏ ᴄᴀᴛ ᴛɪᴄᴋᴇᴛ◄★: [1;50]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ɢᴏʟᴅ ᴄᴀᴛ ᴛɪᴄᴋᴇᴛ◄★: [1;50]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ᴘʟᴀᴛɪɴᴜᴍ ᴄᴀᴛ ᴛɪᴄᴋᴇᴛ◄★: [1;5]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ʟᴇɢᴇɴᴅ ᴄᴀᴛ ᴛɪᴄᴋᴇᴛ◄★: [1;2]",
"★►ᴇɴᴛᴇʀ ᴠᴀʟᴜᴇ ғᴏʀ ᴘʟᴀᴛɪɴᴜᴍ ᴄʀʏsᴛᴀʟs◄★: [1;10]"},
{1, 1, 1, 1, 1, 1, 1},
{"number", "number", "number", "number", "number", "number", "number"}
)
if s == nil then
gg.alert("★[►ᴏᴘᴇʀᴀᴛɪᴏɴ ᴄᴀɴᴄᴇʟᴇᴅ◄]★..")
Game()
end
local lib = "libnative-lib.so:bss"
local pi = gg.getRangesList(lib)[1].start
local function setValuesInRange(firstAddr, lastAddr, value)
local startAddress = pi + firstAddr
local endAddress = pi + lastAddr
for addr = startAddress, endAddress, 4 do
if addr % 8 == 0 then
gg.setValues({{address = addr, flags = gg.TYPE_DWORD, value = value }})
else
gg.setValues({{address = addr, flags = gg.TYPE_DWORD, value = 0}})
end
end
end
local addresses = {
{0x2B92D8, 0x2B92E4},
{0x3970, 0x397C},
{0x2EC0, 0x2ED4}
}
setValuesInRange(addresses[1][1], addresses[1][2], s[1])
setValuesInRange(addresses[2][1], addresses[2][2], s[3])
setValuesInRange(addresses[3][1], addresses[3][2], s[5])
gg.toast("★[►ʙʀɪʟʟɪᴀɴᴛ! ᴀʟʟ ᴠᴀʟᴜᴇs ᴜᴘᴅᴀᴛᴇᴅ!◄]★")
thanks i think i manged to make it work using this
how my little brain figured it out is that instead of search it i basicly just make it edit from first address to last addres to user promp value, 0