local FFlags = {

    GameNetPVHeaderRotationalVelocityZeroCutoffExponent = -5000,

    LargeReplicatorWrite5 = true,

    LargeReplicatorEnabled9 = true,

    AngularVelociryLimit = 360,

    TimestepArbiterVelocityCriteriaThresholdTwoDt = 2147483646,

    S2PhysicsSenderRate = 15000,

    DisableDPIScale = true,

    MaxDataPacketPerSend = 2147483647,

    PhysicsSenderMaxBandwidthBps = 20000,

    TimestepArbiterHumanoidLinearVelThreshold = 21,

    MaxMissedWorldStepsRemembered = -2147483648,

    PlayerHumanoidPropertyUpdateRestrict = true,

    SimDefaultHumanoidTimestepMultiplier = 0,

    StreamJobNOUVolumeLengthCap = 2147483647,

    DebugSendDistInSteps = -2147483648,

    GameNetDontSendRedundantNumTimes = 1,

    CheckPVLinearVelocityIntegrateVsDeltaPositionThresholdPercent = 1,

    CheckPVDifferencesForInterpolationMinVelThresholdStudsPerSecHundredth = 1,

    LargeReplicatorSerializeRead3 = true,

    ReplicationFocusNouExtentsSizeCutoffForPauseStuds = 2147483647,

    CheckPVCachedVelThresholdPercent = 10,

    CheckPVDifferencesForInterpolationMinRotVelThresholdRadsPerSecHundredth = 1,

    GameNetDontSendRedundantDeltaPositionMillionth = 1,

    InterpolationFrameVelocityThresholdMillionth = 5,

    StreamJobNOUVolumeCap = 2147483647,

    InterpolationFrameRotVelocityThresholdMillionth = 5,

    CheckPVCachedRotVelThresholdPercent = 10,

    WorldStepMax = 30,

    InterpolationFramePositionThresholdMillionth = 5,

    TimestepArbiterHumanoidTurningVelThreshold = 1,

    SimOwnedNOUCountThresholdMillionth = 2147483647,

    GameNetPVHeaderLinearVelocityZeroCutoffExponent = -5000,

    NextGenReplicatorEnabledWrite4 = true,

    TimestepArbiterOmegaThou = 1073741823,

    MaxAcceptableUpdateDelay = 1,

    LargeReplicatorSerializeWrite4 = true

}

local Players = game:GetService("Players")

local player = Players.LocalPlayer

local function respawnar(plr)

    local rcdEnabled, wasHidden = false, false

    if gethidden then

        rcdEnabled, wasHidden = gethidden(workspace, 'RejectCharacterDeletions')

            ~= Enum.RejectCharacterDeletions.Disabled

    end

    if rcdEnabled and replicatesignal then

        replicatesignal(plr.ConnectDiedSignalBackend)

        task.wait(Players.RespawnTime - 0.1)

        replicatesignal(plr.Kill)

    else

        local char = plr.Character

        local hum = char:FindFirstChildWhichIsA('Humanoid')

        if hum then

            hum:ChangeState(Enum.HumanoidStateType.Dead)

        end

        char:ClearAllChildren()

        local newChar = Instance.new('Model')

        newChar.Parent = workspace

        plr.Character = newChar

        task.wait()

        plr.Character = char

        newChar:Destroy()

    end

end

for name, value in pairs(FFlags) do

    pcall(function()

        setfflag(tostring(name), tostring(value))

    end)

end

respawnar(player)
task.wait(5)