Advertisement
SirMeme

USE IF USING PROTO

Jul 27th, 2018
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. --Jailbreak Services Bypass
  2. --By 3dsboy08 @ v3rmillion.net. Give credit, thanks!
  3.  
  4. local mt = getrawmetatable(game)
  5. local oldindex = mt.__index
  6. local services_renamed =
  7. {
  8. ["Workspace"] = game:GetService("Workspace"),
  9. ["workspace"] = game:GetService("Workspace"),
  10. ["Lighting"] = game:GetService("Lighting"),
  11. ["lighting"] = game:GetService("Lighting"),
  12. ["Players"] = game:GetService("Players"),
  13. ["ReplicatedStorage"] = game:GetService("ReplicatedStorage"),
  14. }
  15.  
  16. if make_writeable then
  17. make_writeable(mt)
  18. elseif changereadonly then
  19. changereadonly(mt, false)
  20. end
  21.  
  22. local check
  23. if is_protosmasher_caller then
  24. check = is_protosmasher_caller
  25. elseif checkcaller then
  26. check = checkcaller
  27. else
  28. error'failed to find suitable checkcaller implementation'
  29. end
  30.  
  31. mt.__index = function(t, k)
  32. if not check() then return oldindex(t, k) end
  33. if t == game and services_renamed[k] ~= nil then
  34. return services_renamed[k]
  35. end
  36. return oldindex(t, k)
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement