Skip to content
RoRoScripts
Anticheat bypass v5 preview
UnknownPatched

Anticheat bypass v5

Script
Asylum LifeOfficiallySerenity2
Views
2.4K
Likes
5
Dislikes
0
Added
Script
local PHYSICS_TYPES = {
    ["AlignPosition"] = true, ["AlignOrientation"] = true,
    ["BodyForce"] = true, ["BodyThrust"] = true, ["BodyPosition"] = true,
    ["BodyVelocity"] = true, ["BodyGyro"] = true, ["BodyAngularVelocity"] = true,
    ["AngularVelocity"] = true, ["LineForce"] = true
}

local WHITELISTED_NAMES = {
    ["ADONIS_FLIGHT_POSITION"] = true, ["ADONIS_FLIGHT_GYRO"] = true,
    ["COOL_LINE_FORCE"] = true, ["POP_TOOL_LINEARVELOCITY"] = true,
    ["ONYX_SHIELD_LINEARVELOCITY"] = true, ["CharacterOrientationGyro"] = true,
    ["CharacterAlignOrientation"] = true, ["BACK_BUDDY_POSITION"] = true,
    ["BACK_BUDDY_ORIENTATION"] = true, ["CRAZED_POSITION"] = true,
    ["CRAZED_ORIENTATION"] = true, ["CARRY_POSITION"] = true,
    ["CARRY_ORIENTATION"] = true, ["LotusAlignPosition"] = true,
    ["LotusAlignOrientation"] = true, ["DroneAlignPosition"] = true,
    ["DroneAlignOrientation"] = true, ["CuffAlignPosition"] = true,
    ["QuicksilverVelocity"] = true, ["PHYSICS_VELOCITY"] = true
}

if hookfunction and clonefunction then
    local oldInstanceNew = clonefunction(Instance.new)
    hookfunction(Instance.new, newcclosure(function(className, parent)
        local instance = oldInstanceNew(className, parent)
        if PHYSICS_TYPES[className] then
            instance.Name = "PHYSICS_VELOCITY"
        end
        return instance
    end))
end

if hookfunction and clonefunction then
    local oldIsPropertyModified = clonefunction(game.IsPropertyModified)
    hookfunction(game.IsPropertyModified, newcclosure(function(instance, propertyName)
        if instance and typeof(instance) == "Instance" and propertyName == "Name" then
            local success, className = pcall(function() return instance.ClassName end)
            if success and className == "BodyVelocity" then
                local nameSuccess, name = pcall(function() return instance.Name end)
                if nameSuccess and name == " " then
                    return true
                end
                return false
            end
        end
        return oldIsPropertyModified(instance, propertyName)
    end))
end

local function setupCharacterMonitor(char)
    if not char then return end
    for _, desc in pairs(char:GetDescendants()) do
        if PHYSICS_TYPES[desc.ClassName] and not WHITELISTED_NAMES[desc.Name] then
            desc.Name = "PHYSICS_VELOCITY"
        end
    end
    char.DescendantAdded:Connect(function(desc)
        if PHYSICS_TYPES[desc.ClassName] and not WHITELISTED_NAMES[desc.Name] then
            desc.Name = "PHYSICS_VELOCITY"
        end
    end)
end

local player = game:GetService("Players").LocalPlayer
player.CharacterAdded:Connect(setupCharacterMonitor)
if player.Character then setupCharacterMonitor(player.Character) end

task.spawn(function()
    local heightmap = game:GetService("HeightmapImporterService")
    heightmap.ChildAdded:Connect(function(child)
        if child.Name == "BadActionEvent" then
            child:Destroy()
        end
    end)
    for _, child in pairs(heightmap:GetChildren()) do
        if child.Name == "BadActionEvent" then
            child:Destroy()
        end
    end
end)

Features

  • bypasses the games anticheat. made by me/zelda2261