Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Timer = tick();
- warn("Saving...")
- LightingProp = {
- ['Ambient'] = 'Color3Value',
- ['Brightness'] = 'StringValue',
- ['ColorShift_Bottom'] = 'Color3Value',
- ['ColorShift_Top'] = 'Color3Value',
- ['FogColor'] = 'Color3Value',
- ['FogEnd'] = 'StringValue',
- ['FogStart'] = 'StringValue',
- ['GeographicLatitude'] = 'StringValue',
- ['GlobalShadows'] = 'BoolValue',
- ['GlobalShadows'] = 'BoolValue',
- ['OutdoorAmbient'] = 'Color3Value',
- ['Outlines'] = 'BoolValue',
- ['ShadowColor'] = 'Color3Value',
- ['TimeOfDay'] = 'StringValue',
- }
- StarterProp = {
- ['AutoJumpEnabled'] = 'BoolValue',
- ['CameraMaxZoomDistance'] = 'StringValue',
- ['CameraMinZoomDistance'] = 'StringValue',
- ['CameraMode'] = 'StringValue',
- ['DevCameraOcclusionMode'] = 'StringValue',
- ['DevComputerCameraMovementMode'] = 'StringValue',
- ['DevComputerMovementMode'] = 'StringValue',
- ['DevTouchCameraMovementMode'] = 'StringValue',
- ['DevTouchMovementMode'] = 'StringValue',
- ['EnableMouseLockOption'] = 'BoolValue',
- ['HealthDisplayDistance'] = 'StringValue',
- ['LoadCharacterAppearance'] = 'BoolValue',
- ['NameDisplayDistance'] = 'StringValue',
- }
- WorkspaceProp = {
- ['FilteringEnabled'] = 'BoolValue',
- ['Gravity'] = 'StringValue',
- }
- ScriptsToSkip = {
- 'BubbleChat',
- 'CameraScript',
- 'ChatScript',
- 'ControlScript',
- 'FreeCamera',
- 'ChatService',
- 'ChatChannel',
- 'Speaker',
- 'Util',
- 'ChatSettings',
- 'ChatConstants',
- 'ChatLocalization',
- 'Animate',
- 'ChannelsBar',
- 'ChannelsTab',
- 'ChatBar',
- 'ChatMain',
- 'ChatWindow',
- 'ClearNessages',
- 'CommandProcessor',
- 'CurveUtil',
- 'DefaultChatMessage',
- 'DeveloperConsole',
- 'GetVersion',
- 'LocalSound',
- 'MeCommandMessage',
- 'MessageLabelCreator',
- 'MessageLogDisplay',
- 'MessageSender',
- 'ObjectPool',
- 'SetCoreMessage',
- 'SwallowGuestChat',
- 'SwitchChannel',
- 'SystemMessage',
- 'Team',
- 'TeamChat',
- 'UnknownMessage',
- 'WelcomeMessage',
- 'Whisper',
- 'WhisperMessage',
- 'ChatCommandsTeller',
- 'ChatFloodDetector',
- 'ChatMessageValidator',
- 'ClearMessages',
- 'ExtraDataInitializer',
- 'FriendJoinNotifier',
- 'MasterControl',
- 'MeCommand',
- 'MuteSpeaker',
- 'PrivateMessaging',
- 'Thumbstick',
- 'TouchJump',
- 'Thumbpad',
- 'ClickToMoveController',
- 'DPad',
- 'DynamicThumbstick',
- 'Gamepad',
- 'Intro',
- 'KeyboardMovement',
- 'PathDisplayer',
- 'VehicleController',
- 'VRNavigation',
- 'AttachCamera',
- 'ClassicCamera',
- 'ClickToMove',
- 'FixedCamera',
- 'FollowCamera',
- 'Invisicam',
- 'NewClickToMove',
- 'OrbitalCamera',
- 'PathDisplay',
- 'PopperCam',
- 'RootCamera',
- 'ScriptableCamera',
- 'ShiftLockController',
- 'TrackCamera',
- 'TransparencyController',
- 'VRCamera',
- 'WatchCamera',
- }
- local Decompile = decompile
- local Write = writefile
- local CanDecomp = true
- local Warn = warn
- local Exploit = "Visenya"
- function GetFuncs()
- if crash__ ~= nil then
- SaveInstance()
- elseif PROTOSMASHER_LOADED then
- Exploit = "Proto"
- CanDecomp = true
- Decompile = decompile
- Write = saveinstance
- Warn = warn
- Warn('Proto found loading functions...')
- end
- end
- function makePropertyValues(tablepls, servicepls)
- local servprops = Instance.new('Folder', mainFolder)
- servprops.Name = servicepls..' Properties'
- for i,v in pairs(tablepls) do
- local meme = Instance.new(v, servprops)
- meme.Name = i
- if v == 'StringValue' then
- meme.Value = tostring(game:GetService(servicepls)[i])
- else
- meme.Value = game:GetService(servicepls)[i]
- end
- end
- end
- function createFolderWithParts(serv)
- local fold = Instance.new('Folder', mainFolder)
- fold.Name = serv.ClassName
- for i,v in pairs(serv:GetChildren()) do
- if not game:GetService'Players':GetPlayerFromCharacter(v) then
- pcall(function()
- if v:IsA'Terrain' then
- for x,d in pairs(v:GetChildren()) do
- d:Clone().Parent = fold
- end
- return
- end
- v:Clone().Parent = fold
- end)
- end
- end
- end
- function screwYouArchivable(same)
- pcall(function()
- same.Archivable = true
- end)
- for i,v in pairs(same:GetChildren()) do
- screwYouArchivable(v)
- end
- end
- function CanDecomp(item)
- for i = 1, #ScriptsToSkip do
- 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
- return true
- else
- return false
- end
- end
- end
- function checkScript(inst)
- pcall(function()
- if inst:IsA'LocalScript' or inst:IsA'ModuleScript' then
- if CanDecomp then
- 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
- 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
- local valuecount = 1
- local count = 1
- local sadmeme = tostring(decompile(inst))
- repeat
- local kek = Instance.new('StringValue', inst)
- kek.Name = 'Source'..valuecount
- kek.Value = string.sub(sadmeme,count,count + 99999)
- count = count + 100000
- valuecount = valuecount + 1
- wait()
- until string.sub(sadmeme,count,count + 99999) == ''
- end
- end
- end
- end
- for i,v in pairs(inst:GetChildren()) do
- 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
- checkScript(v)
- end
- end
- end)
- end
- mainFolder = Instance.new'Folder'
- mainFolder.Name = 'Place'
- screwYouArchivable(game)
- for i,v in pairs(game:GetChildren()) do
- createFolderWithParts(v)
- end
- if getnilinstances then
- local nilf = Instance.new('Folder', mainFolder)
- nilf.Name = 'NIL INSTANCES'
- for i,v in pairs(getnilinstances()) do
- screwYouArchivable(v)
- pcall(function()
- if v == mainFolder then return end
- v:Clone().Parent = nilf
- end)
- end
- end
- checkScript(mainFolder)
- terraind = Instance.new('Folder', mainFolder)
- terraind.Name = 'TerrainData'
- workspace:FindFirstChildOfClass'Terrain':CopyRegion(workspace:FindFirstChildOfClass'Terrain'.MaxExtents).Parent = terraind
- makePropertyValues(LightingProp, 'Lighting')
- makePropertyValues(StarterProp, 'StarterPlayer')
- makePropertyValues(WorkspaceProp, 'Workspace')
- GetFuncs();
- if Exploit == "Visenya" then
- return
- elseif Exploit == "Proto" then
- Write(mainFolder, game.PlaceId)
- end
- print("Saved! Saving took: " .. tick() - Timer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement