Facebook
From TheFatRat, 1 Month ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 125
  1. -- Cheat Menu for N.O.V.A. Legacy
  2. -- Game: N.O.V.A. Legacy
  3. -- Version: 4.1.8
  4. -- Author: GameGuardian
  5.  
  6. -- Display Cheat Menu
  7. function main()
  8.     GG.ClearResults()
  9.     GG.Toast("Welcome to N.O.V.A. Legacy Cheat Menu")
  10.     GG.Toast(GameName .. " " .. Version)
  11.     GG.Toast("Made by " .. Author)
  12.     GG.Toast("---------------------------------")
  13.     GG.Toast("1. Unlimited Coins")
  14.     GG.Toast("2. Unlimited Ammo")
  15.     GG.Toast("---------------------------------")
  16.     GG.Toast("Select a cheat and enter the value.")
  17.     GG.Toast("Long press to go back.")
  18.     GG.Spam(0x101, 0)
  19.     GG.Sleep(1000)
  20.     GG.ClearResults()
  21.   end
  22.  
  23.   -- Unlimited Coins
  24.   function coins(params)
  25.     if #params ~= 2 then
  26.       GG.Toast("Invalid input. Please enter the value.")
  27.       return
  28.     end
  29.  
  30.     local coins_address, coins_value = params[1], params[2]
  31.  
  32.     GG.ClearResults()
  33.     GG.SearchNumber(coins_value, 0, 0, coins_address, 0x0, 0, 0)
  34.     GG.SortResults("Value", false)
  35.  
  36.     if GG.GetResultsCount() == 0 then
  37.       GG.Toast("No results found.")
  38.       return
  39.     end
  40.  
  41.     GG.EditMemory(0x0, 0x10, 0xFFFFFFFF, coins_address)
  42.     GG.Notify("Coins set to max.")
  43.     GG.Sleep(1000)
  44.     GG.Toast("Value: " .. GG.GetResult(1, 0))
  45.     GG.ClearResults()
  46.   end
  47.  
  48.   -- Unlimited Ammo
  49.   function ammo(params)
  50.     if #params ~= 1 then
  51.       GG.Toast("Invalid input. Please enter the value.")
  52.       return
  53.     end
  54.  
  55.     local ammo_address = params[1]
  56.  
  57.     GG.ClearResults()
  58.     GG.SearchNumber("0?", 0, 0, ammo_address, 0x10, 0, 0)
  59.     GG.SortResults("Value", false)
  60.  
  61.     if GG.GetResultsCount() == 0 then
  62.       GG.Toast("No results found.")
  63.       return
  64.     end
  65.  
  66.     GG.EditMemory(0x0, 0x10, 0xFFFFFFFF, ammo_address)
  67.     GG.Notify("Ammo set to max.")
  68.     GG.Sleep(1000)
  69.     GG.Toast("Value: " .. GG.GetResult(1, 0))
  70.     GG.ClearResults()
  71.   end