Starting with Build 1.74, Rayfield automatically loads its internal UI images from an external cache — no Roblox asset IDs involved. That alone makes a difference.Secure mode takes it further. It strips out every remaining reference that anti-cheats could use to identify your script:
Icons. Lucide names and rbxassetid:// values are removed at runtime.
Key system UI. The key prompt loads a detectable model, so it’s blocked entirely.
Default model ID. You’re warned if you haven’t set a custom asset ID.
The result: with secure mode on and a custom asset ID set, nothing traces back to Rayfield.
In secure mode, Lucide icon names and Roblox image IDs are blocked. They resolve to blank.Use getcustomasset() instead — write your images to the executor filesystem and pass the path:
-- Blocked in secure mode:Tab:CreateLabel("Hello", "alert-circle")Tab:CreateLabel("Hello", 12345678)-- Works in every mode:Tab:CreateLabel("Hello", getcustomasset("my-icons/alert.png"))
The key system UI requires a Roblox model to render. In secure mode, that model is never loaded.
If the user already has a saved key from a previous session, everything works as expected.
If there’s no saved key, the script is blocked. The key prompt can’t be shown.
Secure mode doesn’t bypass the key system — it makes it stricter. Users without a saved key are blocked entirely. If you use KeySystem = true, make sure users enter their key at least once without secure mode first.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Developer Suite","colors":{"primary":"#0088FF","light":"#3399FF","dark":"#0070D6"},"logo":{"light":"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/light.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=54c5dbeffb5f92b996b229f0af6d91e6","dark":"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/dark.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=c2b0c69bc3745e87216955024b58daff"},"favicon":"https://mintcdn.com/sirius-b451bfde/t1ypL1f4YGzGeawd/favicon.svg?fit=max\u0026auto=format\u0026n=t1ypL1f4YGzGeawd\u0026q=85\u0026s=6936b3b142405ae09e1f5c214ae0bb32","appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#0A0A0B"}},"navbar":{"primary":{"type":"button","label":"Discord","href":"https://discord.sirius.menu"}},"footer":{"socials":{"github":"https://github.com/SiriusSoftwareLtd"}},"fonts":{"family":"Unica77LL","weight":400,"source":"fonts/Unica77LL-Regular.woff2","format":"woff2"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.sirius.menu"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SiriusSoftwareLtd"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sirius-b451bfde","hasAudioNarration":false,"actualSubdomain":"sirius-b451bfde","customDomains":["docs.sirius.menu"],"gitSource":{"type":"github","owner":"siriussoftwareltd","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad21c1b1d059fdf24cb26f4","collectionId":"b00a7734-0c54-4b19-8883-e5a62739d656","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad21c1b1d059fdf24cb26f4"},"feedback":{"edits":true,"issues":true,"thumbs":false},"entitlements":{},"buildId":"6ad21c1b1d059fdf24cb26f4","clientVersion":"0.0.3908","searchFilterCounts":[{"language":"default","tag":"Rayfield Gen2","count":27},{"language":"default","tag":"RoScripts","count":17},{"language":"default","tag":"Elements","count":16},{"language":"default","tag":"Rayfield (2022)","count":11},{"language":"default","tag":"Endpoints","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Configuration","count":5},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Feedback","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@keyframes sv-banner-bloom{0%,to{opacity:.75;transform:translate(-40%,-50%) scale(1)}50%{opacity:1;transform:translate(-40%,-50%) scale(1.08)}}@font-face{font-family:'Unica77';src:url(/fonts/Unica77LL-Medium.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:'Unica77';src:url(/fonts/Unica77LL-Light.woff2) format('woff2');font-weight:300;font-style:normal;font-display:swap}aside button>p,aside nav div>p,aside nav>div>p,aside p{font-size:.7rem!important;font-weight:600!important;letter-spacing:.07em!important;text-transform:uppercase!important;opacity:.45!important}aside a{font-size:.875rem!important;padding-left:.5rem!important}.prose h1,h1{font-weight:500!important;letter-spacing:-.005em!important}.prose h2,.prose h3,.prose h4,h2,h3,h4{font-weight:500!important;letter-spacing:0!important}header a[href=\"https://discord.sirius.menu\"]{background-color:#1c1c1f!important;border:1px solid #2a2a2e!important;border-radius:.6rem!important;color:#ededed!important}header a[href=\"https://discord.sirius.menu\"] *{background-color:transparent!important;box-shadow:none!important}header a[href=\"https://discord.sirius.menu\"]:hover{background-color:#26262a!important;border-color:#34343a!important}a.sv-banner{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem 1rem;margin:0 0 1.75rem;padding:.8rem .85rem .8rem 1.15rem;overflow:hidden;background:linear-gradient(100deg,#17171a 0,#121214 45%,#0f0f11 100%);border:1px solid transparent;border-radius:.85rem;text-decoration:none!important}a.sv-banner::before{content:\"\";position:absolute;top:50%;left:0;width:15rem;height:15rem;transform:translate(-40%,-50%);background:radial-gradient(circle,rgba(255,255,255,.16) 0,rgba(255,255,255,.06) 34%,rgba(255,255,255,0) 66%);pointer-events:none;animation:sv-banner-bloom 7s ease-in-out infinite}.sv-banner-copy,.sv-banner-cta,.sv-banner-mark,a.sv-banner{position:relative}.sv-banner-mark{flex:none;display:grid;place-items:center;color:#fff}.sv-banner-mark svg{display:block;width:auto;height:1.5rem;filter:drop-shadow(0 0 12px rgba(255,255,255,.45))}.sv-banner-copy{flex:1 1 16rem;display:flex;flex-direction:column;gap:.15rem;min-width:0}.sv-banner-title,.sv-banner-title>span:not(.sv-banner-badge){display:inline-flex;align-items:center;flex-wrap:wrap;gap:.85rem}.sv-banner-title{color:#f4f4f5;font-size:.85rem;font-weight:500;letter-spacing:-.005em}.sv-banner-badge{color:#a9a9b2;font-size:.68rem;font-weight:400;letter-spacing:.01em;padding:.1rem .42rem;background:rgba(255,255,255,.07);border-radius:.35rem}.sv-banner-sub{color:#90909a;font-size:.79rem;line-height:1.4}.sv-banner-cta,.sv-banner-cta>span:not(.sv-banner-arrow){display:inline-flex;align-items:center;gap:.35rem}.sv-banner-cta{flex:none;padding:.42rem .8rem;color:#0a0a0a!important;font-size:.79rem;font-weight:500;white-space:nowrap;background:#fff;border-radius:.55rem}@media (prefers-reduced-motion:reduce){a.sv-banner::before{animation:none}}a.rg2-banner{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem 1rem;margin:0 0 .6rem;padding:.8rem .85rem .8rem 1.15rem;overflow:hidden;background:linear-gradient(100deg,#0e1a26 0,#0c141d 45%,#0b0f14 100%);border:1px solid rgba(0,136,255,.22);border-radius:.85rem;text-decoration:none!important}a.rg2-banner::before{content:\"\";position:absolute;top:50%;left:0;width:15rem;height:15rem;transform:translate(-40%,-50%);background:radial-gradient(circle,rgba(0,136,255,.28) 0,rgba(0,136,255,.1) 34%,rgba(0,136,255,0) 66%);pointer-events:none}.rg2-banner-copy,.rg2-banner-cta,.rg2-banner-mark,a.rg2-banner{position:relative}.rg2-banner-mark{flex:none;display:grid;place-items:center;color:#39f}.rg2-banner-mark svg{display:block;width:auto;height:1.4rem;filter:drop-shadow(0 0 12px rgba(0,136,255,.55))}.rg2-banner-copy{flex:1 1 16rem;display:flex;flex-direction:column;gap:.15rem;min-width:0}.rg2-banner-title,.rg2-banner-title>span:not(.rg2-banner-badge){display:inline-flex;align-items:center;flex-wrap:wrap;gap:.85rem}.rg2-banner-title{color:#f4f4f5;font-size:.85rem;font-weight:500;letter-spacing:-.005em}.rg2-banner-badge{color:#7cc0ff;font-size:.68rem;font-weight:400;letter-spacing:.01em;padding:.1rem .42rem;background:rgba(0,136,255,.14);border-radius:.35rem}.rg2-banner-sub{color:#8d95a0;font-size:.79rem;line-height:1.4}.rg2-banner-cta,.rg2-banner-cta>span:not(.rg2-banner-arrow){display:inline-flex;align-items:center;gap:.35rem}.rg2-banner-cta{flex:none;padding:.42rem .8rem;color:#9ecdff!important;font-size:.79rem;font-weight:500;white-space:nowrap;background:rgba(0,136,255,.1);border:1px solid rgba(0,136,255,.35);border-radius:.55rem}"}],"page":{"pagePath":"rayfield/secure-mode","slug":"/rayfield/secure-mode","pageMetadata":{"title":"Secure mode","description":"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.","tag":"1.74+","href":"/rayfield/secure-mode"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.a,{href:`/rayfield-gen2/`,className:`rg2-banner`,children:[_jsx(`span`,{className:`rg2-banner-mark`,\"aria-hidden\":`true`,children:_jsxs(`svg`,{viewBox:`0 0 322.75 322.75`,fill:`currentColor`,children:[_jsx(`path`,{d:`M166.45,37.98l132.88,70.28,23.42,62.87-99.18-33.25c-14.38-4.82-25.82-15.89-31.12-30.11l-26-69.79Z`}),_jsx(`path`,{d:`M284.76,166.45l-70.28,132.88-62.87,23.42,33.25-99.18c4.82-14.38,15.89-25.82,30.11-31.12l69.79-26Z`}),_jsx(`path`,{d:`M156.3,284.76L23.42,214.48,0,151.61l99.18,33.25c14.38,4.82,25.82,15.89,31.12,30.11l26,69.79Z`}),_jsx(`path`,{d:`M37.99,156.3L108.27,23.42,171.14,0l-33.25,99.18c-4.82,14.38-15.89,25.82-30.11,31.12l-69.79,26Z`})]})}),_jsxs(`span`,{className:`rg2-banner-copy`,children:[_jsx(`span`,{className:`rg2-banner-title`,children:_jsxs(_components.p,{children:[`Rayfield Gen2 is out\n`,_jsx(`span`,{className:`rg2-banner-badge`,children:`New`})]})}),_jsx(`span`,{className:`rg2-banner-sub`,children:`A ground-up rebuild — faster, undetectable by design, and actively developed. Use it for new scripts instead of Rayfield (2022).`})]}),_jsx(`span`,{className:`rg2-banner-cta`,children:_jsxs(_components.p,{children:[`Read the Gen2 docs\n`,_jsx(`span`,{className:`rg2-banner-arrow`,\"aria-hidden\":`true`,children:`→`})]})})]}),`\n`,_jsxs(`a`,{href:`https://www.sentivel.com/?ref=sirius-docs\u0026utm_source=sirius-docs\u0026utm_medium=referral\u0026utm_content=banner`,target:`_blank`,rel:`noopener noreferrer`,className:`sv-banner`,children:[_jsx(`span`,{className:`sv-banner-mark`,\"aria-hidden\":`true`,children:_jsx(`svg`,{viewBox:`0 0 194.08 236.31`,fill:`currentColor`,children:_jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M181.21,89.15L137.69,99.7l21.82-14.53c15.69-10.45,26.19-27.08,28.88-45.73L194.08,0l0,0c-18.79,13.86-40.77,22.76-63.91,25.86L72.27,33.6c-23.32,3.12-44.43,16.31-56.32,36.62C6.1,87.06,2.64,107.65,7.91,128.02l1.04,4.01l48.67,5.2l0,0C30.7,143.2,10.28,165.2,6.34,192.49L0,236.31l0,0c28.49-17.35,60.53-28.03,93.73-31.26l25.54-2.48c29.96-2.91,56.12-22.72,65.53-51.32c4.42-13.44,5.16-28.26,1.36-42.96L181.21,89.15z M115.85,143l-23.2,6.02c-8.99,2.31-18.13-3.06-20.47-12.05l-5.99-23.2c-2.34-8.99,3.06-18.16,12.03-20.47l23.22-6.02c8.97-2.31,18.13,3.08,20.47,12.05l5.99,23.22C130.24,131.52,124.84,140.69,115.85,143z`})})}),_jsxs(`span`,{className:`sv-banner-copy`,children:[_jsx(`span`,{className:`sv-banner-title`,children:_jsxs(_components.p,{children:[`Sentivel\n`,_jsx(`span`,{className:`sv-banner-badge`,children:`Endorsed by Rayfield`})]})}),_jsx(`span`,{className:`sv-banner-sub`,children:`Status pages and uptime monitoring for whatever you ship. Free to start.`})]}),_jsx(`span`,{className:`sv-banner-cta`,children:_jsxs(_components.p,{children:[`Take a look\n`,_jsx(`span`,{className:`sv-banner-arrow`,\"aria-hidden\":`true`,children:`→`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Starting with Build 1.74, Rayfield automatically loads its internal UI images from an external cache — no Roblox asset IDs involved. That alone makes a difference.`}),`\n`,_jsx(_components.p,{children:`Secure mode takes it further. It strips out every remaining reference that anti-cheats could use to identify your script:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Icons.`}),` Lucide names and `,_jsx(_components.code,{children:`rbxassetid://`}),` values are removed at runtime.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Key system UI.`}),` The key prompt loads a detectable model, so it’s blocked entirely.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default model ID.`}),` You’re warned if you haven’t set a `,_jsx(_components.a,{href:`/rayfield/anti-detection`,children:`custom asset ID`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The result: with secure mode on and a custom asset ID set, nothing traces back to Rayfield.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-started`,children:`Get started`}),`\n`,_jsx(_components.p,{children:`Set both flags before loading Rayfield:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getgenv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`RAYFIELD_SECURE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getgenv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`RAYFIELD_ASSET_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 123456789`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` -- your re-uploaded model`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Rayfield`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` loadstring`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`game`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`HttpGet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sirius.menu/rayfield\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))()`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If you skip `,_jsx(_components.code,{children:`RAYFIELD_ASSET_ID`}),`, Rayfield still works — but the default model ID remains detectable. See `,_jsx(_components.a,{href:`/rayfield/anti-detection`,children:`Anti-Detection`}),` for how to upload your own copy.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`icons`,children:`Icons`}),`\n`,_jsx(_components.p,{children:`In secure mode, Lucide icon names and Roblox image IDs are blocked. They resolve to blank.`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`getcustomasset()`}),` instead — write your images to the executor filesystem and pass the path:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Blocked in secure mode:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alert-circle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12345678`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Works in every mode:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getcustomasset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-icons/alert.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This applies everywhere icons are accepted:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CreateWindow({ Icon = ... })`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CreateTab(Name, Icon)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CreateLabel(Text, Icon)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LabelValue:Set(Text, Icon)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Rayfield:Notify({ Image = ... })`})}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`key-system`,children:`Key system`}),`\n`,_jsx(_components.p,{children:`The key system UI requires a Roblox model to render. In secure mode, that model is never loaded.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If the user already has a saved key from a previous session, everything works as expected.`}),`\n`,_jsx(_components.li,{children:`If there’s no saved key, the script is blocked. The key prompt can’t be shown.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Secure mode doesn’t bypass the key system — it makes it stricter. Users without a saved key are blocked entirely. If you use `,_jsx(_components.code,{children:`KeySystem = true`}),`, make sure users enter their key at least once without secure mode first.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`executor-requirements`,children:`Executor requirements`}),`\n`,_jsxs(_components.p,{children:[`Custom icons with `,_jsx(_components.code,{children:`getcustomasset()`}),` depend on the executor supporting:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`getcustomasset`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`writefile`}),` / `,_jsx(_components.code,{children:`isfile`}),` / `,_jsx(_components.code,{children:`makefolder`}),` / `,_jsx(_components.code,{children:`isfolder`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`If these aren’t available, a notification appears and some icons won’t render.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(_components.p,{children:`A complete setup with secure mode, a custom asset ID, and custom icons:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getgenv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`RAYFIELD_SECURE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getgenv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`RAYFIELD_ASSET_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 123456789`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Rayfield`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` loadstring`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`game`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`HttpGet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sirius.menu/rayfield\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Window`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateWindow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"My Script\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Icon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` getcustomasset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-icons/icon.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Tab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateTab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Main\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getcustomasset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-icons/tab.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getcustomasset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-icons/status.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Notify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Loaded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Content`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Script is ready\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Image`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` getcustomasset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-icons/notif.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Duration`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`flags`,children:`Flags`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RAYFIELD_SECURE`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Enables secure mode`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RAYFIELD_ASSET_ID`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Custom asset ID for your copy of the Rayfield model`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`at-a-glance`,children:`At a glance`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Feature`}),_jsx(_components.th,{children:`Normal (1.74+)`}),_jsx(_components.th,{children:`Secure mode`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Internal UI images`}),_jsx(_components.td,{children:`External cache`}),_jsx(_components.td,{children:`External cache`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Lucide icons`}),_jsx(_components.td,{children:`Supported`}),_jsx(_components.td,{children:`Blocked`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Roblox image ID icons`}),_jsx(_components.td,{children:`Supported`}),_jsx(_components.td,{children:`Blocked`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`getcustomasset()`}),` icons`]}),_jsx(_components.td,{children:`Supported`}),_jsx(_components.td,{children:`Supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Key system`}),_jsx(_components.td,{children:`Full UI`}),_jsx(_components.td,{children:`Saved key only`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Default model ID warning`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Yes`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Secure mode","description":"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.","tag":"1.74+","href":"/rayfield/secure-mode"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Get started","slug":"get-started","depth":2,"children":[]},{"title":"Icons","slug":"icons","depth":2,"children":[]},{"title":"Key system","slug":"key-system","depth":2,"children":[]},{"title":"Executor requirements","slug":"executor-requirements","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Flags","slug":"flags","depth":2,"children":[]},{"title":"At a glance","slug":"at-a-glance","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sirius-b451bfde","siteName":"Developer Suite","title":"Secure mode - Developer Suite","contextualStarterQuestions":[{"_id":"6ad21c24f803363557664a0a","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"How do I enable secure mode?","status":"active","generatedBy":"contextual","path":"rayfield/secure-mode","createdAt":"2026-10-16T12:44:20.627Z","updatedAt":"2026-10-16T12:44:20.627Z","__v":0},{"_id":"6ad21c24f803363557664a08","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"How does secure mode work?","status":"active","generatedBy":"contextual","path":"rayfield/secure-mode","createdAt":"2026-10-16T12:44:20.627Z","updatedAt":"2026-10-16T12:44:20.627Z","__v":0},{"_id":"6ad21c24f803363557664a09","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"Does it hide from anti-cheats?","status":"active","generatedBy":"contextual","path":"rayfield/secure-mode","createdAt":"2026-10-16T12:44:20.627Z","updatedAt":"2026-10-16T12:44:20.627Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T12:44:15.446Z","originalFileLocation":"rayfield/secure-mode.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Developer Suite\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Secure mode - Developer Suite\">\u003cmeta data-mint-head property=\"og:description\" content=\"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Developer Suite\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sirius.menu/rayfield/secure-mode\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Secure mode - Developer Suite\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Developer Suite\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0088FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sirius.menu/rayfield/secure-mode\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/rayfield/secure-mode.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sirius.menu/#organization\",\"name\":\"Developer Suite\",\"url\":\"https://docs.sirius.menu\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/light.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=54c5dbeffb5f92b996b229f0af6d91e6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sirius.menu#website\",\"name\":\"Developer Suite\",\"url\":\"https://docs.sirius.menu\",\"publisher\":{\"@id\":\"https://docs.sirius.menu/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sirius.menu/rayfield/secure-mode#webpage\",\"url\":\"https://docs.sirius.menu/rayfield/secure-mode\",\"name\":\"Secure mode\",\"description\":\"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\",\"dateModified\":\"2026-10-16T12:44:15.446Z\",\"isPartOf\":{\"@id\":\"https://docs.sirius.menu#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sirius.menu/rayfield/secure-mode#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sirius.menu/rayfield/secure-mode#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Security\",\"item\":\"https://docs.sirius.menu/rayfield/anti-detection\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secure mode\",\"item\":\"https://docs.sirius.menu/rayfield/secure-mode\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sirius.menu/rayfield/secure-mode#article\",\"headline\":\"Secure mode\",\"name\":\"Secure mode\",\"description\":\"Block all detectable Roblox asset references at runtime so your script stays invisible to anti-cheats.\",\"url\":\"https://docs.sirius.menu/rayfield/secure-mode\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sirius.menu/rayfield/secure-mode#webpage\"},\"dateModified\":\"2026-10-16T12:44:15.446Z\",\"publisher\":{\"@id\":\"https://docs.sirius.menu/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sirius.menu#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Developer Suite\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Developer Suite","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.sirius.menu"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SiriusSoftwareLtd"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Rayfield (2022)","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/rayfield"}]},{"group":"Getting started","pages":[{"title":"Loading the library","href":"/rayfield/getting-started"},{"title":"Windows","href":"/rayfield/windows"},{"title":"Notifications","href":"/rayfield/notifications"},{"title":"Uptime monitoring","href":"/rayfield/heartbeat"}]},{"group":"Elements","pages":[{"title":"Interactive elements","href":"/rayfield/elements/interactive"},{"title":"Keybinds","href":"/rayfield/elements/keybinds"},{"title":"Text elements","href":"/rayfield/elements/text"}]},{"group":"Configuration","pages":[{"title":"Themes","href":"/rayfield/themes"}]},{"group":"Security","pages":[{"title":"Anti-detection","description":"How to use a custom asset ID to reduce Rayfield's detectability by game anti-cheats.","href":"/rayfield/anti-detection"},{"title":"Secure mode","tag":"1.74+","href":"/rayfield/secure-mode"}]}]},{"tab":"Rayfield Gen2","pages":[{"title":"Rayfield Gen2","href":"/rayfield-gen2"}]},{"tab":"RoScripts","pages":[{"title":"RoScripts","href":"/roscripts/publish"}]}]},"title":"Secure mode - Developer Suite","buildId":"dpl_CUnGQP1HgFUzoxatVC37y4zP83Vx","deploymentId":"dpl_CUnGQP1HgFUzoxatVC37y4zP83Vx","dynamics":[],"chunks":[]}