Advertisement
GreenMs02

Untitled

Oct 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.54 KB | None | 0 0
  1. local Timer = tick();
  2. warn("Saving...")
  3. LightingProp = {
  4. ['Ambient'] = 'Color3Value',
  5. ['Brightness'] = 'StringValue',
  6. ['ColorShift_Bottom'] = 'Color3Value',
  7. ['ColorShift_Top'] = 'Color3Value',
  8. ['FogColor'] = 'Color3Value',
  9. ['FogEnd'] = 'StringValue',
  10. ['FogStart'] = 'StringValue',
  11. ['GeographicLatitude'] = 'StringValue',
  12. ['GlobalShadows'] = 'BoolValue',
  13. ['GlobalShadows'] = 'BoolValue',
  14. ['OutdoorAmbient'] = 'Color3Value',
  15. ['Outlines'] = 'BoolValue',
  16. ['ShadowColor'] = 'Color3Value',
  17. ['TimeOfDay'] = 'StringValue',
  18. }
  19. StarterProp = {
  20. ['AutoJumpEnabled'] = 'BoolValue',
  21. ['CameraMaxZoomDistance'] = 'StringValue',
  22. ['CameraMinZoomDistance'] = 'StringValue',
  23. ['CameraMode'] = 'StringValue',
  24. ['DevCameraOcclusionMode'] = 'StringValue',
  25. ['DevComputerCameraMovementMode'] = 'StringValue',
  26. ['DevComputerMovementMode'] = 'StringValue',
  27. ['DevTouchCameraMovementMode'] = 'StringValue',
  28. ['DevTouchMovementMode'] = 'StringValue',
  29. ['EnableMouseLockOption'] = 'BoolValue',
  30. ['HealthDisplayDistance'] = 'StringValue',
  31. ['LoadCharacterAppearance'] = 'BoolValue',
  32. ['NameDisplayDistance'] = 'StringValue',
  33. }
  34. WorkspaceProp = {
  35. ['FilteringEnabled'] = 'BoolValue',
  36. ['Gravity'] = 'StringValue',
  37. }
  38. ScriptsToSkip = {
  39. 'BubbleChat',
  40. 'CameraScript',
  41. 'ChatScript',
  42. 'ControlScript',
  43. 'FreeCamera',
  44. 'ChatService',
  45. 'ChatChannel',
  46. 'Speaker',
  47. 'Util',
  48. 'ChatSettings',
  49. 'ChatConstants',
  50. 'ChatLocalization',
  51. 'Animate',
  52. 'ChannelsBar',
  53. 'ChannelsTab',
  54. 'ChatBar',
  55. 'ChatMain',
  56. 'ChatWindow',
  57. 'ClearNessages',
  58. 'CommandProcessor',
  59. 'CurveUtil',
  60. 'DefaultChatMessage',
  61. 'DeveloperConsole',
  62. 'GetVersion',
  63. 'LocalSound',
  64. 'MeCommandMessage',
  65. 'MessageLabelCreator',
  66. 'MessageLogDisplay',
  67. 'MessageSender',
  68. 'ObjectPool',
  69. 'SetCoreMessage',
  70. 'SwallowGuestChat',
  71. 'SwitchChannel',
  72. 'SystemMessage',
  73. 'Team',
  74. 'TeamChat',
  75. 'UnknownMessage',
  76. 'WelcomeMessage',
  77. 'Whisper',
  78. 'WhisperMessage',
  79. 'ChatCommandsTeller',
  80. 'ChatFloodDetector',
  81. 'ChatMessageValidator',
  82. 'ClearMessages',
  83. 'ExtraDataInitializer',
  84. 'FriendJoinNotifier',
  85. 'MasterControl',
  86. 'MeCommand',
  87. 'MuteSpeaker',
  88. 'PrivateMessaging',
  89. 'Thumbstick',
  90. 'TouchJump',
  91. 'Thumbpad',
  92. 'ClickToMoveController',
  93. 'DPad',
  94. 'DynamicThumbstick',
  95. 'Gamepad',
  96. 'Intro',
  97. 'KeyboardMovement',
  98. 'PathDisplayer',
  99. 'VehicleController',
  100. 'VRNavigation',
  101. 'AttachCamera',
  102. 'ClassicCamera',
  103. 'ClickToMove',
  104. 'FixedCamera',
  105. 'FollowCamera',
  106. 'Invisicam',
  107. 'NewClickToMove',
  108. 'OrbitalCamera',
  109. 'PathDisplay',
  110. 'PopperCam',
  111. 'RootCamera',
  112. 'ScriptableCamera',
  113. 'ShiftLockController',
  114. 'TrackCamera',
  115. 'TransparencyController',
  116. 'VRCamera',
  117. 'WatchCamera',
  118. }
  119. local Decompile = decompile
  120. local Write = writefile
  121. local CanDecomp = true
  122. local Warn = warn
  123. local Exploit = "Visenya"
  124.  
  125. function GetFuncs()
  126. if crash__ ~= nil then
  127. SaveInstance()
  128. elseif PROTOSMASHER_LOADED then
  129. Exploit = "Proto"
  130. CanDecomp = true
  131. Decompile = decompile
  132. Write = saveinstance
  133. Warn = warn
  134. Warn('Proto found loading functions...')
  135. end
  136. end
  137.  
  138.  
  139.  
  140. function makePropertyValues(tablepls, servicepls)
  141. local servprops = Instance.new('Folder', mainFolder)
  142. servprops.Name = servicepls..' Properties'
  143. for i,v in pairs(tablepls) do
  144. local meme = Instance.new(v, servprops)
  145. meme.Name = i
  146. if v == 'StringValue' then
  147. meme.Value = tostring(game:GetService(servicepls)[i])
  148. else
  149. meme.Value = game:GetService(servicepls)[i]
  150. end
  151. end
  152. end
  153. function createFolderWithParts(serv)
  154. local fold = Instance.new('Folder', mainFolder)
  155. fold.Name = serv.ClassName
  156. for i,v in pairs(serv:GetChildren()) do
  157. if not game:GetService'Players':GetPlayerFromCharacter(v) then
  158. pcall(function()
  159. if v:IsA'Terrain' then
  160. for x,d in pairs(v:GetChildren()) do
  161. d:Clone().Parent = fold
  162. end
  163. return
  164. end
  165. v:Clone().Parent = fold
  166. end)
  167. end
  168. end
  169. end
  170. function screwYouArchivable(same)
  171. pcall(function()
  172. same.Archivable = true
  173. end)
  174. for i,v in pairs(same:GetChildren()) do
  175. screwYouArchivable(v)
  176. end
  177. end
  178.  
  179. function CanDecomp(item)
  180. for i = 1, #ScriptsToSkip do
  181. if item ~= 'BubbleChat' and item ~= 'Locales' and item ~= 'Search' and item ~= 'Chat' and item ~= 'GameDetails' and item ~= 'Games' and item ~= 'EventRecievers' and item ~= 'CameraScript' and item ~= 'CameraScript' and item ~= 'ChatScript' and item ~= 'ControlScript' and item ~= 'FreeCamera' and item ~= 'ChatService' and item ~= 'ChatChannel' and item ~= 'Speaker' and item ~= 'Util' and item ~= 'ChatSettings' and item ~= 'ChatConstants' and item ~= 'ChatLocalization' and item ~= 'Animate' and item ~= 'ChannelsBar' and item ~= 'ChannelsTab' and item ~= 'ChatBar' and item ~= 'ChatMain' and item ~= 'ChatWindow' and item ~= 'ClearNessages' and item ~= 'CommandProcessor' and item ~= 'CurveUtil' and item ~= 'DefaultChatMessage' and item ~= 'DeveloperConsole' and item ~= 'GetVersion' and item ~= 'LocalSound' and item ~= 'MeCommandMessage' and item ~= 'MessageLabelCreator' and item ~= 'MessageLogDisplay' and item ~= 'MessageSender' and item ~= 'ObjectPool' and item ~= 'SetCoreMessage' and item ~= 'SwallowGuestChat' and item ~= 'SwitchChannel' and item ~= 'SystemMessage' and item ~= 'Team' and item ~= 'TeamChat' and item ~= 'UnknownMessage' and item ~= 'WelcomeMessage' and item ~= 'Whisper' and item ~= 'WhisperMessage' and item ~= 'ChatCommandsTeller' and item ~= 'ChatFloodDetector' and item ~= 'ChatMessageValidator' and item ~= 'ClearMessages' and item ~= 'ExtraDataInitializer' and item ~= 'FriendJoinNotifier' and item ~= 'MasterControl' and item ~= 'MeCommand' and item ~= 'MuteSpeaker' and item ~= 'PrivateMessaging' and item ~= 'Thumbstick' and item ~= 'TouchJump' and item ~= 'Thumbpad' and item ~= 'ClickToMoveController' and item ~= 'DPad' and item ~= 'DynamicThumbstick' and item ~= 'Gamepad' and item ~= 'Intro' and item ~= 'KeyboardMovement' and item ~= 'PathDisplayer' and item ~= 'VehicleController' and item ~= 'VRNavigation' and item ~= 'AttachCamera' and item ~= 'ClassicCamera' and item ~= 'ClickToMove' and item ~= 'FixedCamera' and item ~= 'FollowCamera' and item ~= 'Invisicam' and item ~= 'NewClickToMove' and item ~= 'OrbitalCamera' and item ~= 'PathDisplay' and item ~= 'PopperCam' and item ~= 'RootCamera' and item ~= 'ScriptableCamera' and item ~= 'ShiftLockController' and item ~= 'TrackCamera' and item ~= 'TransparencyController' and item ~= 'VRCamera' and item ~= 'WatchCamera' then
  182. return true
  183. else
  184. return false
  185. end
  186. end
  187. end
  188.  
  189. function checkScript(inst)
  190. pcall(function()
  191. if inst:IsA'LocalScript' or inst:IsA'ModuleScript' then
  192. if CanDecomp then
  193. if inst.Name ~= 'BubbleChat' and tostring(inst.Parent) ~= "LocalizationPlugin" and tostring(inst.Parent) ~= "Temp" and tostring(inst.Parent) ~= "CorePackages" and tostring(inst.Parent) ~= "DefaultServerPlayerModules" and tostring(inst.Parent) ~= "Stats" and tostring(inst.Parent) ~= "Controllers" and tostring(inst.Parent) ~= "VR" and tostring(inst.Parent) ~= "Mobile" and tostring(inst.Parent) ~= "AvatarContextMenu" and tostring(inst.Parent) ~= "Settings" and tostring(inst.Parent) ~= "Spritesheets" and tostring(inst.Parent) ~= "Pages" and tostring(inst.Parent) ~= "AnalyticsReporters" and tostring(inst.Parent) ~= "Server" and tostring(inst.Parent) ~= "ServerSound" and tostring(inst.Parent) ~= "ServerChat" and tostring(inst.Parent) ~= "ClientChat" and tostring(inst.Parent) ~= "ServerPlayer" and tostring(inst.Parent) ~= "DefualtServerPlayerModules" and tostring(inst.Parent) ~= "AnalyticsReports" and tostring(inst.Parent) ~= "Examples" and tostring(inst.Parent) ~= "RoactUtilities" and tostring(inst.Parent) ~= "Debug" and tostring(inst.Parent) ~= "Modules" and tostring(inst.Parent) ~= "LuaChat" and tostring(inst.Parent) ~= "Utils" and tostring(inst.Parent) ~= "Tablet" and tostring(inst.Parent) ~= "Phone" and tostring(inst.Parent) ~= "Shell" and tostring(inst.Parent) ~= "Widgets" and tostring(inst.Parent) ~= "Templates" and tostring(inst.Parent) ~= "CameraManager_Zones" and tostring(inst.Parent) ~= "CameraManagerModules" and tostring(inst.Parent) ~= "Shells" and tostring(inst.Parent) ~= "Social" and tostring(inst.Parent) ~= "Overscan" and tostring(inst.Parent) ~= "Utility" and tostring(inst.Parent) ~= "Common" and tostring(inst.Parent) ~= "Enum" and tostring(inst.Parent) ~= "Services" and tostring(inst.Parent) ~= "Themes" and tostring(inst.Parent) ~= "RoactMotionImplementation" and tostring(inst.Parent) ~= "Thunks" and tostring(inst.Parent) ~= "Common" and tostring(inst.Parent) ~= "TestHelpers" and tostring(inst.Parent) ~= "LuaApp" and tostring(inst.Parent) ~= "EventReceivers" and tostring(inst.Parent) ~= "Analytics" and tostring(inst.Parent) ~= "Home" and tostring(inst.Parent) ~= "More" and tostring(inst.Parent) ~= "GameDetails" and tostring(inst.Parent) ~= "Games" and tostring(inst.Parent) ~= "Locales" and tostring(inst.Parent) ~= "Search" and tostring(inst.Parent) ~= "Chat" and tostring(inst.Parent) ~= "UI" and tostring(inst.Parent) ~= "Views" and tostring(inst.Parent) ~= "Landscape" and tostring(inst.Parent) ~= "Portrait" and tostring(inst.Parent) ~= "Avatar" and tostring(inst.Parent) ~= "Models" and tostring(inst.Parent) ~= "AvatarEditor" and tostring(inst.Parent) ~= "NetworkLayers" and tostring(inst.Parent) ~= "Events" and tostring(inst.Parent) ~= "AEActions" and tostring(inst.Parent) ~= "AEWebApiStatus" and tostring(inst.Parent) ~= "Requests" and tostring(inst.Parent) ~= "Http" and tostring(inst.Parent) ~= "AEEvents" and tostring(inst.Parent) ~= "ServerStats" and tostring(inst.Parent) ~= "ServerJobs" and tostring(inst.Parent) ~= "DevConsole" and tostring(inst.Parent) ~= "Reducers" and inst.Name ~= 'CameraScript' and inst.Name ~= 'ChatScript' and inst.Name ~= 'ControlScript' and inst.Name ~= 'FreeCamera' and inst.Name ~= 'ChatService' and inst.Name ~= 'ChatChannel' and inst.Name ~= 'Speaker' and inst.Name ~= 'Util' and inst.Name ~= 'ChatSettings' and inst.Name ~= 'ChatConstants' and inst.Name ~= 'ChatLocalization' and inst.Name ~= 'Animate' and inst.Name ~= 'ChannelsBar' and inst.Name ~= 'ChannelsTab' and inst.Name ~= 'ChatBar' and inst.Name ~= 'ChatMain' and inst.Name ~= 'ChatWindow' and inst.Name ~= 'ClearNessages' and inst.Name ~= 'CommandProcessor' and inst.Name ~= 'CurveUtil' and inst.Name ~= 'DefaultChatMessage' and inst.Name ~= 'DeveloperConsole' and inst.Name ~= 'GetVersion' and inst.Name ~= 'LocalSound' and inst.Name ~= 'MeCommandMessage' and inst.Name ~= 'MessageLabelCreator' and inst.Name ~= 'MessageLogDisplay' and inst.Name ~= 'MessageSender' and inst.Name ~= 'ObjectPool' and inst.Name ~= 'SetCoreMessage' and inst.Name ~= 'SwallowGuestChat' and inst.Name ~= 'SwitchChannel' and inst.Name ~= 'SystemMessage' and inst.Name ~= 'Team' and inst.Name ~= 'TeamChat' and inst.Name ~= 'UnknownMessage' and inst.Name ~= 'WelcomeMessage' and inst.Name ~= 'Whisper' and inst.Name ~= 'WhisperMessage' and inst.Name ~= 'ChatCommandsTeller' and inst.Name ~= 'ChatFloodDetector' and inst.Name ~= 'ChatMessageValidator' and inst.Name ~= 'ClearMessages' and inst.Name ~= 'ExtraDataInitializer' and inst.Name ~= 'FriendJoinNotifier' and inst.Name ~= 'MasterControl' and inst.Name ~= 'MeCommand' and inst.Name ~= 'MuteSpeaker' and inst.Name ~= 'PrivateMessaging' and inst.Name ~= 'Thumbstick' and inst.Name ~= 'TouchJump' and inst.Name ~= 'Thumbpad' and inst.Name ~= 'ClickToMoveController' and inst.Name ~= 'DPad' and inst.Name ~= 'DynamicThumbstick' and inst.Name ~= 'Gamepad' and inst.Name ~= 'Intro' and inst.Name ~= 'KeyboardMovement' and inst.Name ~= 'PathDisplayer' and inst.Name ~= 'VehicleController' and inst.Name ~= 'VRNavigation' and inst.Name ~= 'AttachCamera' and inst.Name ~= 'ClassicCamera' and inst.Name ~= 'ClickToMove' and inst.Name ~= 'FixedCamera' and inst.Name ~= 'FollowCamera' and inst.Name ~= 'Invisicam' and inst.Name ~= 'NewClickToMove' and inst.Name ~= 'OrbitalCamera' and inst.Name ~= 'PathDisplay' and inst.Name ~= 'PopperCam' and inst.Name ~= 'RootCamera' and inst.Name ~= 'ScriptableCamera' and inst.Name ~= 'ShiftLockController' and inst.Name ~= 'TrackCamera' and inst.Name ~= 'TransparencyController' and inst.Name ~= 'VRCamera' and inst.Name ~= 'WatchCamera' and tostring(inst.Parent) ~= "Actions" and tostring(inst.Parent) ~= "Log" and tostring(inst.Parent) ~= "Memory" and tostring(inst.Parent) ~= "ActionBindings" and tostring(inst.Parent) ~= "Scripts" and tostring(inst.Parent) ~= "Components" and tostring(inst.Parent) ~= "Log" and tostring(inst.Parent) ~= "Scripts" and tostring(inst.Parent) ~= "DataStores" and tostring(inst.Parent) ~= "Log" and tostring(inst.Parent) ~= "Network" then
  194. if string.find(tostring(inst.Parent), "AE") or string.find(tostring(inst.Parent), "Report") or string.find(tostring(inst.Parent), "Impl") or string.find(tostring(inst.Parent), "Group") or string.find(tostring(inst.Parent), "ShareGame") then return else
  195. local valuecount = 1
  196. local count = 1
  197. local sadmeme = tostring(decompile(inst))
  198. repeat
  199. local kek = Instance.new('StringValue', inst)
  200. kek.Name = 'Source'..valuecount
  201. kek.Value = string.sub(sadmeme,count,count + 99999)
  202. count = count + 100000
  203. valuecount = valuecount + 1
  204. wait()
  205. until string.sub(sadmeme,count,count + 99999) == ''
  206. end
  207. end
  208. end
  209. end
  210. for i,v in pairs(inst:GetChildren()) do
  211. if v.Name ~= 'BubbleChat' and v.Name ~= 'CameraScript' and v.Name ~= 'ChatScript' and v.Name ~= 'ControlScript' and v.Name ~= 'FreeCamera' and v.Name ~= 'ChatService' and v.Name ~= 'ChatChannel' and v.Name ~= 'Speaker' and v.Name ~= 'Util' and v.Name ~= 'ChatSettings' and v.Name ~= 'ChatConstants' and v.Name ~= 'ChatLocalization' and v.Name ~= 'Animate' and v.Name ~= 'ChannelsBar' and v.Name ~= 'ChannelsTab' and v.Name ~= 'ChatBar' and v.Name ~= 'ChatMain' and v.Name ~= 'ChatWindow' and v.Name ~= 'ClearNessages' and v.Name ~= 'CommandProcessor' and v.Name ~= 'CurveUtil' and v.Name ~= 'DefaultChatMessage' and v.Name ~= 'DeveloperConsole' and v.Name ~= 'GetVersion' and v.Name ~= 'LocalSound' and v.Name ~= 'MeCommandMessage' and v.Name ~= 'MessageLabelCreator' and v.Name ~= 'MessageLogDisplay' and v.Name ~= 'MessageSender' and v.Name ~= 'ObjectPool' and v.Name ~= 'SetCoreMessage' and v.Name ~= 'SwallowGuestChat' and v.Name ~= 'SwitchChannel' and v.Name ~= 'SystemMessage' and v.Name ~= 'Team' and v.Name ~= 'TeamChat' and v.Name ~= 'UnknownMessage' and v.Name ~= 'WelcomeMessage' and v.Name ~= 'Whisper' and v.Name ~= 'WhisperMessage' and v.Name ~= 'ChatCommandsTeller' and v.Name ~= 'ChatFloodDetector' and v.Name ~= 'ChatMessageValidator' and v.Name ~= 'ClearMessages' and v.Name ~= 'ExtraDataInitializer' and v.Name ~= 'FriendJoinNotifier' and v.Name ~= 'MasterControl' and v.Name ~= 'MeCommand' and v.Name ~= 'MuteSpeaker' and v.Name ~= 'PrivateMessaging' and v.Name ~= 'Thumbstick' and v.Name ~= 'TouchJump' and v.Name ~= 'Thumbpad' and v.Name ~= 'ClickToMoveController' and v.Name ~= 'DPad' and v.Name ~= 'DynamicThumbstick' and v.Name ~= 'Gamepad' and v.Name ~= 'Intro' and v.Name ~= 'KeyboardMovement' and v.Name ~= 'PathDisplayer' and v.Name ~= 'VehicleController' and v.Name ~= 'VRNavigation' and v.Name ~= 'AttachCamera' and v.Name ~= 'ClassicCamera' and v.Name ~= 'ClickToMove' and v.Name ~= 'FixedCamera' and v.Name ~= 'FollowCamera' and v.Name ~= 'Invisicam' and v.Name ~= 'NewClickToMove' and v.Name ~= 'OrbitalCamera' and v.Name ~= 'PathDisplay' and v.Name ~= 'PopperCam' and v.Name ~= 'RootCamera' and v.Name ~= 'ScriptableCamera' and v.Name ~= 'ShiftLockController' and v.Name ~= 'TrackCamera' and v.Name ~= 'TransparencyController' and v.Name ~= 'VRCamera' and v.Name ~= 'WatchCamera' then
  212. checkScript(v)
  213. end
  214. end
  215. end)
  216. end
  217.  
  218. mainFolder = Instance.new'Folder'
  219. mainFolder.Name = 'Place'
  220. screwYouArchivable(game)
  221. for i,v in pairs(game:GetChildren()) do
  222. createFolderWithParts(v)
  223. end
  224. if getnilinstances then
  225. local nilf = Instance.new('Folder', mainFolder)
  226. nilf.Name = 'NIL INSTANCES'
  227. for i,v in pairs(getnilinstances()) do
  228. screwYouArchivable(v)
  229. pcall(function()
  230. if v == mainFolder then return end
  231. v:Clone().Parent = nilf
  232. end)
  233. end
  234. end
  235. checkScript(mainFolder)
  236. terraind = Instance.new('Folder', mainFolder)
  237. terraind.Name = 'TerrainData'
  238. workspace:FindFirstChildOfClass'Terrain':CopyRegion(workspace:FindFirstChildOfClass'Terrain'.MaxExtents).Parent = terraind
  239. makePropertyValues(LightingProp, 'Lighting')
  240. makePropertyValues(StarterProp, 'StarterPlayer')
  241. makePropertyValues(WorkspaceProp, 'Workspace')
  242. GetFuncs();
  243. if Exploit == "Visenya" then
  244. return
  245. elseif Exploit == "Proto" then
  246. Write(mainFolder, game.PlaceId)
  247. end
  248. print("Saved! Saving took: " .. tick() - Timer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement