Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- assert(PROTOSMASHER_LOADED, 'This script is for ProtoSmasher only!')
- printoutput("DebugRepair by wallythemad loaded!", Color3.fromRGB(0, 255, 140))
- local backup = debug.getupvalues
- make_writeable(debug)
- getgenv().debug.getupvalues = function(f)
- if typeof(f) == "function" then
- local s, e = pcall(backup, f)
- return (typeof(e) == 'table' and e or {})
- else
- return backup(f + 1)
- end
- end
- getgenv().shared.repair = true
- make_readonly(debug)
- -- syntax highlighter by josh @v3rmillion.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement