luau / UniversalSynSaveInstance

Shortly USSI. A universal saveinstance revival. This can also be edited and used as a Roblox-Format-File writer.
https://luau.github.io/UniversalSynSaveInstance/
Other
88 stars 38 forks source link

[BUG]Not decompiling full module #39

Closed aitherka closed 3 months ago

aitherka commented 3 months ago

hello, im trying to decompile a module script in the game DOORS called haste, and whenever i do it looks like this: image when its supposed to look like something like this: local lTweenService1 = game:GetService("TweenService"); local v2 = script:FindFirstAncestor("MainUI"); local lLocalPlayer3 = game.Players.LocalPlayer; local v4 = false; return function(p1, p2) if p1.dead then return; elseif p2 then v4 = false; return; else local lLatestRoom5 = game.ReplicatedStorage.GameData.LatestRoom; local lValue6 = game.ReplicatedStorage.GameData.LatestRoom.Value; local v7 = game.Lighting.Sanity:Clone(); v7.Name = "LiveSanity"; v7.Enabled = true; v7.Parent = game.Lighting; local v8 = game.SoundService.Main.SanityEqualizer:Clone(); v8.Name = "SanityEqualizerLive"; v8.Enabled = true; v8.Parent = game.SoundService.Main; print("erm.. hello bro"); local v9 = 1; for v10, v11 in game.Lighting:GetChildren() do if v11:IsA("ColorCorrectionEffect") and v11.Enabled then v9 = v9 + v11.Saturation; end; end; lTweenService1:Create(v7, TweenInfo.new(4.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), { Saturation = -v9, Brightness = 0.2, Contrast = 0.4, TintColor = Color3.new(1, 1, 1) }):Play(); lTweenService1:Create(v8, TweenInfo.new(4.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), { LowGain = 0, MidGain = -20, HighGain = -40 }):Play(); local v12 = p1.camShaker:StartShake(1, 16, 4.6, (Vector3.new(0, 0, 0, 0))); local v13 = p1.camShaker:StartShake(8, 1, 4.6, (Vector3.new(0, 0, 0, 0))); v4 = true; script.Ambience:Play(); script.Ambience.SoundGroup = nil; task.wait(4.6); local v14 = v2.MainFrame.DreadVignette; v14.ImageColor3 = Color3.new(1, 1, 1); v14.Size = UDim2.new(2, 0, 2, 0); lTweenService1:Create(v14, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), { ImageColor3 = Color3.new(0, 0, 0), Size = UDim2.new(1.2, 0, 1.2, 0) }):Play(); for v15, v16 in pairs(v14:GetChildren()) do if v16:IsA("Frame") then v16.BackgroundColor3 = Color3.new(1, 1, 1); lTweenService1:Create(v16, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.new(0, 0, 0) }):Play(); end; end; v14.Visible = true; require(game.ReplicatedStorage.VoiceActing)("Dread", "Spawn"); local v17 = game.ReplicatedStorage.Entities.Dread:Clone(); local lCharacter18 = lLocalPlayer3.Character; v17.PrimaryPart.CFrame = CFrame.new(lCharacter18.PrimaryPart.Position + (p1.cam.CFrame.LookVector Vector3.new(1, 0, 1, 0)).Unit -64); local v19 = workspace.CurrentRooms:FindFirstChild(lValue6); if v19 and v19:FindFirstChild("Door") then pcall(function() local lLookVector20 = CFrame.new(v19:FindFirstChild("Door").PrimaryPart.Position, lCharacter18.PrimaryPart.Position).LookVector; v17.PrimaryPart.CFrame = CFrame.new(lCharacter18.PrimaryPart.Position + (lLookVector20 Vector3.new(1, 0, 1, 0)).Unit 64); end); end; v17.Parent = workspace; v17.PrimaryPart.Footsteps:Play(); v17.PrimaryPart.PlaySound:Play(); local v21 = 9; task.delay(10, function() v21 = 11; task.wait(10); v21 = 13; end); while (v4 and lLatestRoom5.Value == lValue6) and not p1.dead do local v22 = task.wait(); local lLookVector23 = CFrame.lookAt(v17.PrimaryPart.Position, lCharacter18.PrimaryPart.Position - lCharacter18.PrimaryPart.Velocity).LookVector; local lMagnitude24 = (v17.PrimaryPart.Position - lCharacter18.PrimaryPart.Position).Magnitude; local v25 = math.clamp(lMagnitude24 / 50, 0, 1); v17.PrimaryPart.CFrame = CFrame.new(v17.PrimaryPart.Position + lLookVector23 (v21 v22)); v14.Rotation = math.random(0, 359); v14.Position = UDim2.new(0.5 + math.random(-10, 10) / 1000, 0, 0.5 + math.random(-10, 10) / 1000, 0); v14.Swirl.ImageTransparency = v25; v14.Swirl.Rotation = math.random(0, 359); v14.Swirl.Size = UDim2.new(1 + v25, 0, 1 + v25, 0); if lMagnitude24 < 7 then game.ReplicatedStorage.RemotesFolder.Dread:FireServer(); p1.char.PrimaryPart.Anchored = true; lCharacter18:PivotTo(CFrame.new(lCharacter18.PrimaryPart.Position, v17.PrimaryPart.Position)); p1.stopcam = true; for v26, v27 in pairs(p1.char:GetDescendants()) do if v27:IsA("BasePart") then local v28 = v27.Transparency; v27.Transparency = 1; task.delay(1, function() while true do task.wait(0.1); if not (p1.stopcam ~= false) then break; end; end; v27.Transparency = v28; end); end; end; for v29, v30 in pairs(v17:GetDescendants()) do if v30:IsA("ParticleEmitter") then v30:Emit(5); end; end; lTweenService1:Create(p1.cam, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { CFrame = CFrame.new(p1.cam.CFrame.Position, v17.PrimaryPart.Position + Vector3.new(0, 1, 0, 0)) }):Play(); lTweenService1:Create(v8, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { LowGain = -99, MidGain = -99, HighGain = -99 }):Play(); v14.ImageColor3 = Color3.new(1, 1, 1); lTweenService1:Create(v14, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), { ImageColor3 = Color3.new(0, 0, 0), Size = UDim2.new(5, 0, 5, 0) }):Play(); v14.Swirl.ImageTransparency = 1; script.Ambience:Stop(); local v31 = tick() + 6; while true do task.wait(0.1); if not (((not p1.dead and v4) and lLatestRoom5.Value == lValue6) and tick() < v31) then break; end; end; p1.char.PrimaryPart.Anchored = false; p1.stopcam = false; break; end; end; script.Ambience:Stop(); v14.Visible = false; v17:Destroy(); v12:StartFadeOut(0.1); v13:StartFadeOut(0.1); if p1.dead == false then script.AmbienceEnd:Play(); wait(0.1); lTweenService1:Create(v7, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Saturation = 0, Contrast = 0, Brightness = 0, TintColor = Color3.new(1, 1, 1) }):Play(); lTweenService1:Create(v8, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { LowGain = 0, MidGain = 0, HighGain = 0 }):Play(); wait(1); else v12:StartFadeOut(0.1); v13:StartFadeOut(0.1); end; v7:Destroy(); v8:Destroy(); return; end; end;

aitherka commented 3 months ago

if anyone can help please, im also using celery just like before

phoriah commented 3 months ago

This is an issue with your executor's decompiler. You should report it to the developers of the executor instead. Not an issue on saveinstance's end.

aitherka commented 3 months ago

This is an issue with your executor's decompiler. You should report it to the developers of the executor instead. Not an issue on saveinstance's end.

okay, thanks

aitherka commented 3 months ago

This is an issue with your executor's decompiler. You should report it to the developers of the executor instead. Not an issue on saveinstance's end.

does using your custom one work?

phoriah commented 3 months ago

does using your custom one work?

Currently, the custom decompiler is disabled.