Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Try adding this to the bottom of 'globalScript.lua', then press F2 a few times in game
- -- Feel free to use ILSpy to see what functionality is available
- StaticEvents.add_OnLevelLoad(function(level)
- local console = GameObject.Find("Console")
- console:SetActive(true)
- console = console:GetComponent(typeof(Console))
- Actor.Player:AddController(console)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement