-- Script for Wildcraft: Animal Sim (Modified)
-- Grants 9999999 experience levels and purple elixir when killing a rabbit in the
forest
local isRunning = true
-- Function to stop the script
function stopScript()
isRunning = false
gg.toast("Script stopped. Happy hunting!")
end
-- Main function
function main()
while isRunning do
-- Find memory addresses for experience and elixir
-- Use Game Guardian's fuzzy search function to locate these addresses.
-- Modify the values
gg.searchNumber("current_experience_value", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll(9999999, gg.TYPE_DWORD)
gg.searchNumber("current_elixir_value", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll(9999999, gg.TYPE_DWORD)
-- Wait for some time before reapplying the changes
gg.sleep(1000) -- You can adjust the time according to your preference
end
end
-- Add a button on the screen to stop the script
gg.alert("Press OK to stop the script", "Stop", stopScript)
-- Run the main function
main()