Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script was generated by Hydroxide
- local oh_get_gc = getgc or false
- local oh_is_x_closure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or checkclosure or false
- local oh_get_info = debug.getinfo or getinfo or false
- local oh_set_upvalue = debug.setupvalue or setupvalue or setupval or false
- if not oh_get_gc and not oh_is_x_closure and not oh_get_info and not oh_set_upvalue then
- warn("Your exploit does not support this script")
- return
- end
- local oh_find_function = function(name)
- for i,v in pairs(oh_get_gc()) do
- if type(v) == "function" and not oh_is_x_closure(v) then
- if oh_get_info(v).name == name then
- return v
- end
- end
- end
- end
- local oh_EndRun = oh_find_function("EndRun")
- local oh_index = 15
- local oh_new_value = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -- replace this with the value that you want to set the upvalue to
- oh_set_upvalue(oh_EndRun, oh_index, oh_new_value)
- -- WARNING: THIS SCRIPT MAY NOT WORK, DO NOT RELY ON THE UPVALUE SCANNER FOR 100% FUNCTIONAL SCRIPTS!
- -- "scout_closure" may not find the correct function if there are multiple functions with the same name
Add Comment
Please, Sign In to add comment