Advertisement
PersonsadminTeam

Lumber Tycoon 2 admin method.

Apr 10th, 2017
2,218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.19 KB | None | 0 0
  1. ---- Inject this script. (Credit to Autumn for making the script, I just edited it)
  2. 2. Reset
  3. 3.Go to the load/save menu
  4. In the upper right you will see a textbox.
  5. In that textbox, enter, "zebraman" and press enter, BOOM.
  6. I haven't figured out a way to do anything except for clear saves.--
  7.  
  8.  
  9.  
  10.  
  11. game.StarterGui.ResetPlayerGuiOnSpawn=true
  12. print'Running Autorun!'
  13. local SpoofReturns = function(name,class,returns)
  14. if name=="Level" then
  15. print'Remote "Level" found, spoofing.'
  16. returns[1]=2
  17. end
  18.    return unpack(returns)
  19. end
  20.  
  21. local meta,oldmeta = getrawmetatable(game),{}
  22. for i,v in next,meta do oldmeta[i] = v end
  23. local realmethods = {}
  24. realmethods.Fire = Instance.new("BindableEvent").Fire
  25. realmethods.Invoke = Instance.new("BindableFunction").Invoke
  26. realmethods.FireServer = Instance.new("RemoteEvent").FireServer
  27. realmethods.InvokeServer = Instance.new("RemoteFunction").InvokeServer
  28. meta.__index = function(t,k)
  29.    if k == "Fire" or k == "Invoke" or k == "FireServer" or k == "InvokeServer" then
  30.        return function(self,...)
  31.            return SpoofReturns(t.Name,t.ClassName,{realmethods[k](self,...)})
  32.        end
  33.    else
  34.        return oldmeta.__index(t,k)
  35.    end
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement