Jump to content
  • 0

Question

Posted

guys please help me with my lua script, why is this not working. i made for subway surfers game, this is the script code

function HackFunction(ToF)
if Hack == "A" then -- Free Shopping
    if ToF == true then
        HackersHouse.hijackParameters({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1CE468C,
        ['parameters'] ={ { "bool", false}}, 
        ['libIndex'] = 'auto'
      }
    })
        Toast("Free Shopping Activated")
    else
        HackersHouse.hijackParametersOff({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1CE468C,
      }
    })
        Toast("Free Shopping De-Activated")
    end
elseif Hack == "B" then -- Unlimited Jump
    if ToF == true then
        Toast("Unlimited Jump Activated")
    else
        Toast("Unlimited Jump De-Activated")
    end
elseif Hack == "C" then -- God Mode
    if ToF == true then
        Toast("God Mode Activated")
    else
        Toast("God Mode De-Activated")
    end
else 
    Toast("Error You Broke It")
end
end

 

BTW I use patching lib from HackerHouse

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.