heist

publicluau https://www.roblox.com/games/126220797136742/HEIST-Rob-a-Store remote loaderupdated

the risk scan cleared this script. it still noticed a few things:

risk 1/10 · safe

sends data to or loads code from linusware.org, pasteblox.com.

loadstring(game:HttpGet("https://pasteblox.com/raw/enqmfs3zhk"))()
pbx pull enqmfs3zhkraw link never changes · v1 live
heist.luau
--[[
    made for https://linusware.org/
]]--

local Players = cloneref(game:GetService("Players"))
local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
local Workspace = cloneref(game:GetService("Workspace"))
local lp = Players.LocalPlayer

local library = loadstring(game:HttpGet("https://pasteblox.com/raw/htv3xjyre4"))({
    cheatname = "femboyware",
    gamename  = "universal",
    fileext   = ".rat",
})
local flags = library.flags

local CONTRACTS = {
    "Contract Shipment Case",
    "Museum Artifact",
    "Diamond Tray",
    "Vault Charge",
    "Deposit Pouch",
}

local STEAL_WORDS = { "steal", "take", "grab", "loot", "pickup" }
local NUMBER_KEYS = { "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Zero" }
local DIGIT_KEYS = {
    ["0"] = "Zero", ["1"] = "One", ["2"] = "Two", ["3"] = "Three", ["4"] = "Four",
    ["5"] = "Five", ["6"] = "Six", ["7"] = "Seven", ["8"] = "Eight", ["9"] = "Nine",
}

local DEFAULT_COLORS = {
    item_color     = Color3.fromRGB(255, 80, 80),
    contract_color = Color3.fromRGB(255, 60, 80),
    van_color      = Color3.fromRGB(90, 90, 90),
    guard_color    = Color3.fromRGB(255, 75, 110),
    camera_color   = Color3.fromRGB(210, 115, 255),
    note_color     = Color3.fromRGB(140, 210, 255),
}

local NOTIFY_COLORS = {
    info    = Color3.fromRGB(255, 135, 255),
    success = Color3.fromRGB(100, 255, 150),
    warn    = Color3.fromRGB(255, 190, 90),
    error   = Color3.fromRGB(255, 80, 80),
}

local state = {
    run       = nil,
    prompts   = {},
    world     = {},
    hidden    = {},
    esp       = {},
    gui       = {},
    code      = nil,
    scanAt    = 0,
    actAt     = 0,
    busy      = false,
    safeKey   = nil,
    safeAt    = 0,
    safeZone  = false,
    drillHeld = false,
    drillAt   = 0,
    drillCool = 0,
    pickColor = nil,
    pickZone  = false,
    vaultZone = false,
    fpSig     = "",
    fpAt      = 0,
    voltSig   = "",
    voltAt    = 0,
    keySig    = "",
    keyAt     = 0,
    guide     = "",
}

local function notify(msg, kind, dur)
    library:SendNotification(msg, dur or 4, NOTIFY_COLORS[kind] or NOTIFY_COLORS.info)
end

local function find(p, name, deep)
    if typeof(p) ~= "Instance" then return nil end
    local ok, res = pcall(p.FindFirstChild, p, name, deep or false)
    return ok and res or nil
end

local function kids(p, deep)
    if typeof(p) ~= "Instance" then return {} end
    local ok, res = pcall(deep and p.GetDescendants or p.GetChildren, p)
    return ok and res or {}
end

local function dist(inst)
    local c = lp and lp.Character
    local r = c and find(c, "HumanoidRootPart")
    if not r or typeof(inst) ~= "Instance" then return math.huge end
    local ok, pos = pcall(function()
        if inst:IsA("BasePart") then return inst.Position end
        if inst:IsA("Model") then return inst:GetPivot().Position end
        local part = inst:FindFirstChildWhichIsA("BasePart", true)
        return part and part.Position
    end)
    return (ok and pos) and (pos - r.Position).Magnitude or math.huge
end

local function getRun()
    if state.run and state.run.Parent then return state.run end
    local runs = find(Workspace, "Runs")
    if not runs then return nil end
    local id = lp and lp:GetAttribute("RunId")
    local r = (type(id) == "string" and find(runs, id)) or nil
    if not r then
        for _, v in ipairs(kids(runs)) do
            if v:IsA("Model") or v:IsA("Folder") then r = v break end
        end
    end
    if r ~= state.run then
        state.run = r
        state.scanAt = 0
        state.code = nil
        table.clear(state.prompts)
        table.clear(state.world)
    end
    return r
end

local function tp(inst, offset)
    if typeof(inst) ~= "Instance" then return notify("Target not found", "warn", 3) end
    lw.teleport(inst, offset or Vector3.new(0, 3, 0))
end

local function findNamed(name)
    local r = getRun()
    if not r or not name or name == "" then return nil end
    local low = string.lower(name)
    local best, bestD
    local items = find(r, "Items")
    local list = items and kids(items) or kids(r, true)
    for _, v in ipairs(list) do
        if string.find(string.lower(v.Name), low, 1, true) then
            local d = dist(v)
            if not bestD or d < bestD then best, bestD = v, d end
        end
    end
    if not best and items then
        for _, v in ipairs(kids(r, true)) do
            if string.find(string.lower(v.Name), low, 1, true) then
                local d = dist(v)
                if not bestD or d < bestD then best, bestD = v, d end
            end
        end
    end
    return best
end

local function getPrompt(stealOnly, maxD)
    local best, bestD
    for i = #state.prompts, 1, -1 do
        local p = state.prompts[i]
        if p and p.Parent then
            local d = dist(p.Parent)
            if d <= (maxD or math.huge) and (not bestD or d < bestD) then
                if not stealOnly then
                    best, bestD = p, d
                else
                    local txt = string.lower(tostring(p.ActionText or "") .. " " .. tostring(p.ObjectText or "") .. " " .. p.Name)
                    for _, w in ipairs(STEAL_WORDS) do
                        if string.find(txt, w, 1, true) then best, bestD = p, d break end
                    end
                end
            end
        else
            table.remove(state.prompts, i)
        end
    end
    return best, bestD
end

local function clearEsp()
    for inst, e in pairs(state.esp) do
        if e.handle then pcall(function() e.handle:Remove() end) end
        pcall(lw.target, inst, nil)
    end
    table.clear(state.esp)
    lw.clearesp()
    lw.cleartargets()
end

local function markEsp(seen, inst, o)
    if typeof(inst) ~= "Instance" then return end
    seen[inst] = true
    local sig = string.format("%s:%s:%s:%s:%s:%s", tostring(o.label), tostring(o.color), tostring(o.chams), tostring(o.box), tostring(o.distance), tostring(o.tracer))
    local e = state.esp[inst]
    if e and e.sig == sig then return end
    if e and e.handle then pcall(function() e.handle:Remove() end) end
    local ok, h = pcall(lw.esp, inst, o)
    if ok and h then
        state.esp[inst] = { handle = h, sig = sig }
        if o.chams then pcall(lw.target, inst, { aim = o.npc or false, esp = true, team = false, add = true }) end
    end
end

local function refreshEsp()
    local r = getRun()
    if not r then
        if next(state.esp) then clearEsp() end
        return
    end

    local now = os.clock()
    if now - state.scanAt > 3 then
        state.scanAt = now
        table.clear(state.prompts)
        table.clear(state.world)
        local camSeen = {}
        for _, v in ipairs(kids(r, true)) do
            if v:IsA("ProximityPrompt") then
                table.insert(state.prompts, v)
            else
                local n = string.lower(v.Name)
                if string.find(n, "camera", 1, true) or string.find(n, "cctv", 1, true) then
                    local t = (v:IsA("BasePart") or v:IsA("Model")) and v or v:FindFirstAncestorOfClass("Model")
                    if t and not camSeen[t] then
                        camSeen[t] = true
                        table.insert(state.world, { inst = t, kind = "cam" })
                    end
                elseif string.find(n, "code", 1, true) or string.find(n, "note", 1, true) or string.find(n, "keycard", 1, true) then
                    table.insert(state.world, { inst = v, kind = "note" })
                end
                if not state.code then
                    if v:IsA("SurfaceGui") and v.Name == "CodeDigits" then
                        local lbl = find(v, "Code") or v:FindFirstChildOfClass("TextLabel")
                        if lbl and string.match(lbl.Text or "", "^%d%d%d%d?$") then state.code = lbl.Text end
                    elseif v:IsA("TextLabel") and (v.Name == "Code" or v.Name == "NoteDigits") and string.match(v.Text or "", "^%d%d%d%d?$") then
                        state.code = v.Text
                    end
                end
            end
        end
    end

    local seen = {}
    local maxD = flags.max_distance or 1200

    local function isHidden(name)
        local low = string.lower(name)
        for k, on in pairs(state.hidden) do
            if on and string.find(low, string.lower(k), 1, true) then return true end
        end
        return false
    end

    local items = find(r, "Items")
    if items then
        for _, v in ipairs(kids(items)) do
            if not isHidden(v.Name) and dist(v) <= maxD then
                local low = string.lower(v.Name)
                local contract
                for _, c in ipairs(CONTRACTS) do
                    if string.find(low, string.lower(c), 1, true) then contract = c break end
                end
                if (contract and flags.contract) or (not contract and flags.item) then
                    markEsp(seen, v, {
                        label    = flags.names and (contract and string.upper(contract) or v.Name) or "",
                        color    = flags[contract and "contract_color" or "item_color"] or DEFAULT_COLORS[contract and "contract_color" or "item_color"],
                        chams    = flags.item_chams,
                        box      = flags.boxes,
                        distance = flags.distance,
                        tracer   = contract ~= nil and flags.tracers,
                    })
                end
            end
        end
    end

    if flags.van then
        local van = find(r, "GetawayVan")
        if van then markEsp(seen, van, { label = "ESCAPE VAN", color = flags.van_color or DEFAULT_COLORS.van_color, chams = true, box = true, distance = true, tracer = true }) end
    end

    if flags.guards then
        for _, v in ipairs(kids(find(r, "NPCs"))) do
            local low = string.lower(v.Name)
            if string.find(low, "guard", 1, true) or string.find(low, "officer", 1, true) then
                markEsp(seen, v, { label = v.Name, color = flags.guard_color or DEFAULT_COLORS.guard_color, chams = true, box = true, distance = true, npc = true })
            end
        end
    end

    if flags.cameras or flags.notes then
        for _, w in ipairs(state.world) do
            if w.inst and w.inst.Parent and dist(w.inst) <= maxD then
                if w.kind == "cam" and flags.cameras then
                    markEsp(seen, w.inst, { label = "CAMERA", color = flags.camera_color or DEFAULT_COLORS.camera_color, chams = true, box = true, distance = true })
                elseif w.kind == "note" and flags.notes and not isHidden(w.inst.Name) then
                    markEsp(seen, w.inst, { label = w.inst.Name, color = flags.note_color or DEFAULT_COLORS.note_color, chams = true, box = true, distance = true })
                end
            end
        end
    end
lines 1–300 of 887open raw find-in-page only searches the lines loaded so far. "show all" loads the rest.

changelog

1 version
  1. first version

    live

    @relizismylove·