System: You will be given a Luau script (that has been decompiled). You will rename the variables and functions to sound better, make the script more coherent, and add comments to areas of the script. Return the fixed script without adding ``` as we handle that. If no script has been given, do not produce any output. Do not respond with anything but the script
User: -- Decompiled with Sonar Luau Decompiler
local v1 = game.Players.LocalPlayer
local v2 = game:GetService("TweenService")
local _ = v1.Character
local v_u_3 = game.Workspace.CurrentCamera
local v4 = game.Workspace:WaitForChild("MenuCam")
local v_u_5 = false
wait(game:IsLoaded())
v4.Transparency = 1
v_u_3.CameraType = Enum.CameraType.Scriptable
v_u_3.CFrame = v4.CFrame
local v6 = Instance.new("BlurEffect")
v6.Size = 0
v6.Parent = game.Lighting
local v_u_7 = v2:Create(script.Parent:WaitForChild("Black"), TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
    ["Transparency"] = 0
})
local v_u_8 = v2:Create(script.Parent:WaitForChild("Black"), TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
    ["Transparency"] = 1
})
local v_u_9 = v2:Create(v6, TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
    ["Size"] = 20
})
local v_u_10 = v2:Create(v6, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
    ["Size"] = 0
})
if script.Parent:WaitForChild("CreditsFrame"):WaitForChild("Frame"):FindFirstChild("TextLabel") and script.Parent:WaitForChild("CreditsFrame"):WaitForChild("Frame"):WaitForChild("TextLabel").Text == "Scripter -" then
    script.Parent.CreditsFrame.Frame.TextLabel.Text = "Scripter - " .. v1.Name
end
script.Parent:WaitForChild("GameMusic").Playing = true
script.Parent.SettingsButton.MouseButton1Click:Connect(function()
    -- upvalues: (ref) v_u_5, (copy) v_u_9, (copy) v_u_10
    if v_u_5 ~= true then
        v_u_5 = true
        if script.Parent.SettingsFrame.Position == UDim2.new(0.5, 0, -0.4, 0) then
            script.Parent.SettingsFrame:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", 1)
            script.Parent.PlayButton:TweenPosition(UDim2.new(-0.3, 0, 0.353, 0), "Out", "Quad", 0.5)
            script.Parent.SettingsButton:TweenPosition(UDim2.new(-0.3, 0, 0.508, 0), "Out", "Quad", 0.5)
            script.Parent.CreditsButton:TweenPosition(UDim2.new(-0.3, 0, 0.636, 0), "Out", "Quad", 0.5)
            v_u_9:Play()
        else
            script.Parent.SettingsFrame:TweenPosition(UDim2.new(0.5, 0, -0.4, 0), "Out", "Quad", 1)
            script.Parent.PlayButton:TweenPosition(UDim2.new(0.005, 0, 0.353, 0), "Out", "Quad", 0.5)
            script.Parent.SettingsButton:TweenPosition(UDim2.new(0.005, 0, 0.508, 0), "Out", "Quad", 0.5)
            script.Parent.CreditsButton:TweenPosition(UDim2.new(0.005, 0, 0.636, 0), "Out", "Quad", 0.5)
            v_u_10:Play()
        end
        wait(2)
        v_u_5 = false
    end
end)
script.Parent.CreditsButton.MouseButton1Click:Connect(function()
    -- upvalues: (ref) v_u_5, (copy) v_u_9, (copy) v_u_10
    if v_u_5 ~= true then
        v_u_5 = true
        if script.Parent.CreditsFrame.Position == UDim2.new(0.5, 0, -0.4, 0) then
            script.Parent.CreditsFrame:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", 1)
            script.Parent.PlayButton:TweenPosition(UDim2.new(-0.3, 0, 0.353, 0), "Out", "Quad", 0.5)
            script.Parent.SettingsButton:TweenPosition(UDim2.new(-0.3, 0, 0.508, 0), "Out", "Quad", 0.5)
            script.Parent.CreditsButton:TweenPosition(UDim2.new(-0.3, 0, 0.636, 0), "Out", "Quad", 0.5)
            v_u_9:Play()
        else
            script.Parent.CreditsFrame:TweenPosition(UDim2.new(0.5, 0, -0.4, 0), "Out", "Quad", 1)
            script.Parent.PlayButton:TweenPosition(UDim2.new(0.005, 0, 0.353, 0), "Out", "Quad", 0.5)
            script.Parent.SettingsButton:TweenPosition(UDim2.new(0.005, 0, 0.508, 0), "Out", "Quad", 0.5)
            script.Parent.CreditsButton:TweenPosition(UDim2.new(0.005, 0, 0.636, 0), "Out", "Quad", 0.5)
            v_u_10:Play()
        end
        wait(2)
        v_u_5 = false
    end
end)
script.Parent.CreditsFrame.ExitButton.MouseButton1Click:Connect(function()
    -- upvalues: (ref) v_u_5, (copy) v_u_10
    if v_u_5 ~= true then
        v_u_5 = true
        script.Parent.CreditsFrame:TweenPosition(UDim2.new(0.5, 0, -0.4, 0), "Out", "Quad", 1)
        script.Parent.PlayButton:TweenPosition(UDim2.new(0.005, 0, 0.353, 0), "Out", "Quad", 0.5)
        script.Parent.SettingsButton:TweenPosition(UDim2.new(0.005, 0, 0.508, 0), "Out", "Quad", 0.5)
        script.Parent.CreditsButton:TweenPosition(UDim2.new(0.005, 0, 0.636, 0), "Out", "Quad", 0.5)
        v_u_10:Play()
        wait(2)
        v_u_5 = false
    end
end)
script.Parent.SettingsFrame.ExitButton.MouseButton1Click:Connect(function()
    -- upvalues: (ref) v_u_5, (copy) v_u_10
    if v_u_5 ~= true then
        v_u_5 = true
        script.Parent.SettingsFrame:TweenPosition(UDim2.new(0.5, 0, -0.4, 0), "Out", "Quad", 1)
        script.Parent.PlayButton:TweenPosition(UDim2.new(0.005, 0, 0.353, 0), "Out", "Quad", 0.5)
        script.Parent.SettingsButton:TweenPosition(UDim2.new(0.005, 0, 0.508, 0), "Out", "Quad", 0.5)
        script.Parent.CreditsButton:TweenPosition(UDim2.new(0.005, 0, 0.636, 0), "Out", "Quad", 0.5)
        v_u_10:Play()
        wait(2)
        v_u_5 = false
    end
end)
if script.Parent.SettingsFrame.Frame:FindFirstChild("Shadows") then
    script.Parent.SettingsFrame.Frame.Shadows.MouseButton1Click:Connect(function()
        if script.Parent.SettingsFrame.Frame.Shadows.Text == "X" then
            script.Parent.SettingsFrame.Frame.Shadows.Text = ""
            game.Lighting.GlobalShadows = false
        else
            script.Parent.SettingsFrame.Frame.Shadows.Text = "X"
            game.Lighting.GlobalShadows = true
        end
    end)
end
if script.Parent.SettingsFrame.Frame:FindFirstChild("Time") then
    script.Parent.SettingsFrame.Frame.Time.MouseButton1Click:Connect(function()
        if script.Parent.SettingsFrame.Frame.Time.Text == "DAY" then
            script.Parent.SettingsFrame.Frame.Time.Text = "NIGHT"
            game.Lighting.ClockTime = 18
        else
            script.Parent.SettingsFrame.Frame.Time.Text = "DAY"
            game.Lighting.ClockTime = 14
        end
    end)
end
if script.Parent.SettingsFrame.Frame:FindFirstChild("Music") then
    script.Parent.SettingsFrame.Frame.Music.MouseButton1Click:Connect(function()
        if script.Parent.SettingsFrame.Frame.Music.Text == "X" then
            script.Parent.SettingsFrame.Frame.Music.Text = ""
            script.Parent.GameMusic.Playing = false
        else
            script.Parent.SettingsFrame.Frame.Music.Text = "X"
            script.Parent.GameMusic.Playing = true
        end
    end)
end
script.Parent.PlayButton.MouseButton1Click:Connect(function()
    -- upvalues: (ref) v_u_5, (copy) v_u_7, (copy) v_u_3, (copy) v_u_8
    if v_u_5 ~= true then
        v_u_5 = true
        v_u_7:Play()
        wait(3)
        v_u_3.CameraType = Enum.CameraType.Custom
        script.Parent.PlayButton:Destroy()
        script.Parent.SettingsButton:Destroy()
        script.Parent.CreditsButton:Destroy()
        v_u_8:Play()
    end
end)
Assistant: