Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local ccode = "c_code"
  2. local function getcode()
  3. for _,a in pairs(debug.getregistry()) do
  4. if type(a) == "function" and pcall(function() return debug.getupvalues(a) end) then
  5. if debug.getupvalues(a)['c_code'] then
  6. ccode = debug.getupvalues(a)['c_code']
  7. return ccode
  8. end
  9. end
  10. end
  11. end
  12. getcode()
  13. if ccode and ccode ~= "c_code" then
  14. for _,a in pairs(debug.getregistry()) do
  15. if type(a) == "function" and pcall(function() return debug.getupvalues(a) end) then
  16. if debug.getupvalues(a)["updateCaseBux"] then
  17. local b = debug.getupvalues(a)["updateCaseBux"]
  18. game:GetService("RunService").RenderStepped:Connect(function() b:FireServer(ccode) end)
  19. end
  20. end
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement