-- This file was generated with UnveilR V3 at discord.gg/threaded using the testing version.

local Players, Humanoid, Humanoid_2, r328, Character_2, Connection, RenderStepped, Connection_2, CFrame_New, CFrame_Times_R459_Result, r355, IsPlaying, r363, Completed, SandevistanFlashGui, SandevistanFlashGui_2, Frame, UDim2_New, r532, Completed_2, r542, Completed_3, Animate, Humanoid_3, r403, Character_3, r430, r438, Completed_4, SandevistanFlashGui_3, Frame_2, r579, Completed_5, r589, Completed_6, Animate_2, Character_4, Frame_3, r483, Completed_8, r493, Completed_9;
local fenv = getfenv();
if not pcall(function(p1, a, b, c)

end) then
else
    Players = game:GetService("Players");
end;
local TweenService = game:GetService("TweenService");
local RunService = game:GetService("RunService");
game:GetService("UserInputService");
game:GetService("Workspace");
local LocalPlayer = Players.LocalPlayer;
local Character = LocalPlayer.Character;
if Character then
    Humanoid = Character:WaitForChild("Humanoid");
    Character:WaitForChild("HumanoidRootPart");
end;
Humanoid:FindFirstChildOfClass("Animator");
local _ = Enum.KeyCode.Q;
local TimeSpeed = Instance.new"NumberValue";
TimeSpeed.Name = "TimeSpeed";
TimeSpeed.Value = 1;
TimeSpeed.Parent = workspace;
local SandevistanEffect = Instance.new"ColorCorrectionEffect";
SandevistanEffect.Name = "SandevistanEffect";
SandevistanEffect.Parent = game:GetService("Lighting");
local SandevistanSound = Instance.new"Sound";
SandevistanSound.Name = "SandevistanSound";
SandevistanSound.SoundId = "rbxassetid://130840290979991";
SandevistanSound.Volume = 1;
SandevistanSound.Looped = false;
SandevistanSound.Parent = workspace;
local SandevistanFailSound = Instance.new"Sound";
SandevistanFailSound.Name = "SandevistanFailSound";
SandevistanFailSound.SoundId = "rbxassetid://109891992335274";
SandevistanFailSound.Volume = 1;
SandevistanFailSound.Looped = false;
SandevistanFailSound.Parent = workspace;
local FromRGB = Color3.fromRGB;
FromRGB(75, 255, 33);
FromRGB(0, 240, 255);
FromRGB(244, 213, 253);
FromRGB(119, 34, 137);
FromRGB(248, 230, 2);
local Color3_New = Color3.new;
local R48_Result = Color3_New(1, 1, 1);
game:GetService("TweenService");
local TweenInfo_New = TweenInfo.new;
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
    ["TintColor"] = FromRGB(85, 255, 127),
    ["Saturation"] = 0.25,
    ["Contrast"] = 0.5
}):Play();
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
    ["TintColor"] = R48_Result,
    ["Saturation"] = 0,
    ["Contrast"] = 0
}):Play();
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
    ["TintColor"] = FromRGB(0, 157, 255),
    ["Saturation"] = 0.25,
    ["Contrast"] = 0
}):Play();
local _ = Enum.PoseEasingStyle.Linear;
local _ = Enum.EasingStyle.Linear;
local _ = Enum.PoseEasingStyle.Bounce;
local _ = Enum.EasingStyle.Bounce;
local _ = Enum.PoseEasingStyle.Cubic;
local _ = Enum.EasingStyle.Cubic;
local _ = Enum.PoseEasingStyle.Elastic;
local _ = Enum.EasingStyle.Elastic;
local _ = Enum.PoseEasingStyle.Constant;
local _ = Enum.EasingStyle.Linear;
local _ = Enum.PoseEasingDirection.In;
local _ = Enum.EasingDirection.In;
local _ = Enum.PoseEasingDirection.Out;
local _ = Enum.EasingDirection.Out;
local _ = Enum.PoseEasingDirection.InOut;
local _ = Enum.EasingDirection.InOut;
for for_key_0, for_val_0 in ipairs(Character:GetDescendants()) do
    if for_key_0 then

    end;
    if for_val_0:IsA("Motor6D") then
        local _ = for_val_0.Part0.Name .. (
            "_" .. for_val_0.Part1.Name
        );
    end;
end;
if isfile"SandevistanData.rbxmx" then
else
    writefile(
        "SandevistanData.rbxmx",
        game:HttpGet("https://raw.githubusercontent.com/mahowaga51-cmd/sandevistan/refs/heads/main/SandevistanData.rbxmx")
    );
end;
local r131 = game:GetObjects(
    fenv.getcustomasset"SandevistanData.rbxmx"
)[1];
if r131 then
    r131:IsA("Folder");
end;
r131:WaitForChild("Idle"):IsA("KeyframeSequence");
r131:WaitForChild("Jump"):IsA("KeyframeSequence");
r131:WaitForChild("RunSande"):IsA("KeyframeSequence");
r131:WaitForChild("Cyberpsychosis"):IsA("KeyframeSequence");
game:GetService("ContextActionService");
local _ = Enum.KeyCode.A;
local _ = Enum.KeyCode.B;
local _ = Enum.KeyCode.C;
local _ = Enum.KeyCode.D;
local _ = Enum.KeyCode.E;
local _ = Enum.KeyCode.F;
local _ = Enum.KeyCode.G;
local _ = Enum.KeyCode.H;
local _ = Enum.KeyCode.I;
local _ = Enum.KeyCode.J;
local _ = Enum.KeyCode.K;
local _ = Enum.KeyCode.L;
local _ = Enum.KeyCode.M;
local _ = Enum.KeyCode.O;
local _ = Enum.KeyCode.P;
local _ = Enum.KeyCode.Q;
local _ = Enum.KeyCode.R;
local _ = Enum.KeyCode.S;
local _ = Enum.KeyCode.U;
local _ = Enum.KeyCode.V;
local _ = Enum.KeyCode.W;
local _ = Enum.KeyCode.X;
local _ = Enum.KeyCode.Y;
local _ = Enum.KeyCode.Z;
local _ = Enum.KeyCode.Space;
local _ = Enum.KeyCode.LeftControl;
local _ = Enum.KeyCode.Up;
local _ = Enum.KeyCode.Down;
local _ = Enum.KeyCode.Left;
local _ = Enum.KeyCode.Right;
local _ = Enum.KeyCode.One;
local _ = Enum.KeyCode.Two;
local _ = Enum.KeyCode.Three;
local _ = Enum.KeyCode.Four;
local _ = Enum.KeyCode.Five;
local _ = Enum.KeyCode.Six;
local _ = Enum.KeyCode.Seven;
local _ = Enum.KeyCode.Eight;
local _ = Enum.KeyCode.Nine;
local _ = Enum.KeyCode.Zero;
fenv.deactivate = function(p1_3, a_3, b_3, c_3)
    if p1_3 then -- ran, if id: 20
        task.wait(0.11000000000000001);
    end;
    if not r240 then
    else -- didnt run (else), if id: 21

    end;
    TweenService:Create(TimeSpeed, TweenInfo_New(0.4), {
        ["Value"] = 1
    }):Play();
    for for_key_4, for_val_4 in ipairs(Players:GetPlayers()) do
        if not for_key_4 then
        else -- didnt run (else), if id: 22

        end;
        if for_val_4 == LocalPlayer then
        else -- didnt run (else), if id: 23
            if for_val_4.Character then -- ran, if id: 24

            end;
        end;
    end;
    for for_key_5, for_val_5 in ipairs(for_val_4.Character:GetDescendants()) do
        if not for_key_5 then
        else -- didnt run (else), if id: 25

        end;
        if for_val_5:IsA("BasePart") then -- ran, if id: 26
            for_val_5.Anchored = false;
        end;
    end;
end;
if r293 then -- ran, if id: 27

end;
Connection_2 = r291:Connect(function(deltaTime_1, p2_9, p3_9, p4_9, p5_9, a_9, b_9, c_9)
    if (
        tick() - tick()
    ) > 0.5 then
    else -- didnt run (else), if id: 44

    end;
end);
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
    ["TintColor"] = R48_Result,
    ["Saturation"] = 0,
    ["Contrast"] = 0
}):Play();
if not r302 then
else -- didnt run (else), if id: 28

end;
r363 = TweenService:Create(SandevistanSound, TweenInfo_New(0.4), {
    ["Volume"] = 0
});
r363:Play();
r363.Completed:Connect(function(p1_10, p2_10, p3_10, p4_10, a_10, b_10, c_10)
    SandevistanSound:Stop();
    SandevistanSound.Volume = 3;
end);
task.spawn(function()
    if r467 then -- ran, if id: 45
        r467:Destroy();
    end;
    SandevistanFlashGui_2 = Instance.new"ScreenGui";
    SandevistanFlashGui_2.Name = "SandevistanFlashGui";
    SandevistanFlashGui_2.IgnoreGuiInset = true;
    SandevistanFlashGui_2.ResetOnSpawn = false;
    SandevistanFlashGui_2.ZIndexBehavior = Enum.ZIndexBehavior.Global;
    SandevistanFlashGui_2.Parent = LocalPlayer:WaitForChild("PlayerGui");
    Frame = Instance.new"Frame";
    Frame.Size = r473(1, 0, 1, 0);
    Frame.Position = r473(0, 0, 0, 0);
    Frame.BackgroundColor3 = Color3_New(1, 1, 1);
    Frame.BorderSizePixel = 0;
    Frame.BackgroundTransparency = 1;
    Frame.ZIndex = 999;
    Frame.Parent = SandevistanFlashGui_2;
    r532 = TweenService:Create(Frame, TweenInfo_New(0.05), {
        ["BackgroundTransparency"] = 0
    });
    r532:Play();
    r532.Completed:Wait();
    r542 = TweenService:Create(Frame, TweenInfo_New(0.3), {
        ["BackgroundTransparency"] = 1
    });
    r542:Play();
    r542.Completed:Wait();
    SandevistanFlashGui_2:Destroy();
end);
Animate = Character:FindFirstChild("Animate");
if not Animate then
else -- didnt run (else), if id: 29
    Animate.Disabled = false;
end;
end;
LocalPlayer.CharacterAdded:Connect(function(character, p2_4, p3_4, p4_4, p5_4, p6_4, a_4, b_4, c_4)
    Humanoid_3 = character:WaitForChild("Humanoid");
    if character then -- ran, if id: 30

    end;
    if not character.Parent then
    else -- didnt run (else), if id: 31

    end;
    for for_key_6, for_val_6 in ipairs(character:GetDescendants()) do
        if for_key_6 then -- ran, if id: 32

        end;
        if not for_val_6:IsA("Motor6D") then
        else -- didnt run (else), if id: 33
            local _ = for_val_6.Part0.Name .. (
                "_" .. for_val_6.Part1.Name
            );
        end;
    end;
    deactivate(true);
    task.wait(0.11000000000000001);
    if not Humanoid_3 then
    else -- didnt run (else), if id: 34
        Humanoid_3.WalkSpeed = Humanoid_3.WalkSpeed;
    end;
    Humanoid_3.JumpPower = Humanoid_3.JumpPower;
    TweenService:Create(TimeSpeed, TweenInfo_New(0.4), {
        ["Value"] = 1
    }):Play();
    for for_key_7, for_val_7 in ipairs(Players:GetPlayers()) do
        if not for_key_7 then
        else -- didnt run (else), if id: 35

        end;
        if for_val_7 == LocalPlayer then
        else -- didnt run (else), if id: 36
            if for_val_7.Character then -- ran, if id: 37

            end;
        end;
    end;
    for for_key_8, for_val_8 in ipairs(for_val_7.Character:GetDescendants()) do
        if not for_key_8 then
        else -- didnt run (else), if id: 38

        end;
        if for_val_8:IsA("BasePart") then -- ran, if id: 39
            for_val_8.Anchored = false;
        end;
    end;
end;
if Connection_2 then -- ran, if id: 40

end;
r291:Connect(function(deltaTime_2, p2_12, p3_12, p4_12, p5_12, a_12, b_12, c_12)
    if (
        tick() - tick()
    ) > 0.5 then
    else -- didnt run (else), if id: 46

    end;
    local _ = (
        r463 * r459(0.24385230343413689, 0.31874049418928296, -0.3846839056330225)
    ) * r459(-0.12742972075572542, 0.3735888234814801, 0.04778233342565095);
end);
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
    ["TintColor"] = R48_Result,
    ["Saturation"] = 0,
    ["Contrast"] = 0
}):Play();
if not r302 then
else -- didnt run (else), if id: 41

end;
r438 = TweenService:Create(SandevistanSound, TweenInfo_New(0.4), {
    ["Volume"] = 0
});
r438:Play();
r438.Completed:Connect(function(p1_13, p2_13, p3_13, p4_13, a_13, b_13, c_13)
    SandevistanSound:Stop();
    SandevistanSound.Volume = 3;
end);
task.spawn(function()
    if SandevistanFlashGui_2 then -- ran, if id: 47
        SandevistanFlashGui_2:Destroy();
    end;
    SandevistanFlashGui_3 = Instance.new"ScreenGui";
    SandevistanFlashGui_3.Name = "SandevistanFlashGui";
    SandevistanFlashGui_3.IgnoreGuiInset = true;
    SandevistanFlashGui_3.ResetOnSpawn = false;
    SandevistanFlashGui_3.ZIndexBehavior = Enum.ZIndexBehavior.Global;
    SandevistanFlashGui_3.Parent = LocalPlayer:WaitForChild("PlayerGui");
    Frame_2 = Instance.new"Frame";
    Frame_2.Size = r473(1, 0, 1, 0);
    Frame_2.Position = r473(0, 0, 0, 0);
    Frame_2.BackgroundColor3 = Color3_New(1, 1, 1);
    Frame_2.BorderSizePixel = 0;
    Frame_2.BackgroundTransparency = 1;
    Frame_2.ZIndex = 999;
    Frame_2.Parent = SandevistanFlashGui_3;
    r579 = TweenService:Create(Frame_2, TweenInfo_New(0.05), {
        ["BackgroundTransparency"] = 0
    });
    r579:Play();
    r579.Completed:Wait();
    r589 = TweenService:Create(Frame_2, TweenInfo_New(0.3), {
        ["BackgroundTransparency"] = 1
    });
    r589:Play();
    r589.Completed:Wait();
    SandevistanFlashGui_3:Destroy();
end);
Animate_2 = character:FindFirstChild("Animate");
if not Animate_2 then
else -- didnt run (else), if id: 42
    Animate_2.Disabled = false;
end;
r291:Connect(function(deltaTime_3, p2_15, p3_15, a_15, b_15, c_15)
    if not Humanoid_3 then
    else -- didnt run (else), if id: 48

    end;
end);
end);
if not Character then
else
    r240 = Character:WaitForChild("Humanoid");
end;
if Character then

end;
if not Character.Parent then
else

end;
for for_key_1, for_val_1 in ipairs(Character:GetDescendants()) do
    if for_key_1 then

    end;
    if not for_val_1:IsA("Motor6D") then
    else
        local _ = for_val_1.Part0.Name .. (
            "_" .. for_val_1.Part1.Name
        );
    end;
end;
deactivate(true);
task.wait(0.11000000000000001);
if not r240 then
else

end;
TweenService:Create(TimeSpeed, TweenInfo_New(0.4), {
    ["Value"] = 1
}):Play();
for for_key_2, for_val_2 in ipairs(Players:GetPlayers()) do
    if not for_key_2 then
    else

    end;
    if for_val_2 == LocalPlayer then
    else
        if for_val_2.Character then

        end;
    end;
end;
for for_key_3, for_val_3 in ipairs(for_val_2.Character:GetDescendants()) do
    if not for_key_3 then
    else

    end;
    if for_val_3:IsA("BasePart") then
        for_val_3.Anchored = false;
    end;
end;
end;
r291 = RunService.RenderStepped;
r293 = r291:Connect(function(deltaTime, p2_6, p3_6, p4_6, p5_6, a_6, b_6, c_6)
if (
    tick() - tick()
) > 0.5 then
else -- didnt run (else), if id: 43
    r459 = CFrame.new;
end;
r463 = workspace.CurrentCamera.CFrame * r459(-0.11973520440420504, 0.10860705191594243, 0.3722806300901194);
end);
TweenService:Create(SandevistanEffect, TweenInfo_New(0.4), {
["TintColor"] = R48_Result,
["Saturation"] = 0,
["Contrast"] = 0
}):Play();
r302 = SandevistanSound.IsPlaying;
if not r302 then
else

end;
local r308 = TweenService:Create(SandevistanSound, TweenInfo_New(0.4), {
["Volume"] = 0
});
r308:Play();
r308.Completed:Connect(function(p1_7, p2_7, p3_7, p4_7, a_7, b_7, c_7)
SandevistanSound:Stop();
SandevistanSound.Volume = 3;
end);
task.spawn(function()
r467 = Instance.new"ScreenGui";
r467.Name = "SandevistanFlashGui";
r467.IgnoreGuiInset = true;
r467.ResetOnSpawn = false;
r467.ZIndexBehavior = Enum.ZIndexBehavior.Global;
r467.Parent = LocalPlayer:WaitForChild("PlayerGui");
Frame_3 = Instance.new"Frame";
r473 = UDim2.new;
Frame_3.Size = r473(1, 0, 1, 0);
Frame_3.Position = r473(0, 0, 0, 0);
Frame_3.BackgroundColor3 = Color3_New(1, 1, 1);
Frame_3.BorderSizePixel = 0;
Frame_3.BackgroundTransparency = 1;
Frame_3.ZIndex = 999;
Frame_3.Parent = r467;
r483 = TweenService:Create(Frame_3, TweenInfo_New(0.05), {
    ["BackgroundTransparency"] = 0
});
r483:Play();
r483.Completed:Wait();
r493 = TweenService:Create(Frame_3, TweenInfo_New(0.3), {
    ["BackgroundTransparency"] = 1
});
r493:Play();
r493.Completed:Wait();
r467:Destroy();
end);
local Animate_3 = Character:FindFirstChild("Animate");
if not Animate_3 then
else
Animate_3.Disabled = false;
end;
error"/unveilr//unveilr/Disabled is not a valid member of nil \"nil\"";