Forja

How to fix scripts Forja's check holds back

Forja took your listing off the marketplace for a script? Find the line in Roblox Studio and fix it: getfenv, require of an asset id, scrambled code, webhooks and more. Then upload the file again.

5 min readUpdated Nov 28, 2026

On this page
  1. Why Forja holds these scripts
  2. Find the line in Roblox Studio
  3. getfenv or setfenv
  4. require with an asset id
  5. Scrambled (obfuscated) code
  6. Number-coded text and hidden code
  7. Webhooks, loadstring, InsertService and the rest
  8. Upload the fixed file
  9. Questions

Why Forja holds these scripts

Every file on Forja is read before buyers get it. Some code is the way backdoors get into Roblox games: it loads code from outside the file, hides what it does, or sends a buyer's data somewhere else. Forja can't check code like that, so a listing with it doesn't stay on sale.

It's often not your code. Free models, kits and old frameworks bring scripts like these with them, and a map can carry one in a tree or a light without anyone noticing.

The email and the banner on your listing's edit page name the file, the script and the line. Start there. People who already bought the listing keep their downloads while you fix it.

Find the line in Roblox Studio

  1. Open your own copy

    Open the file you uploaded in Roblox Studio (File, then Open from File). Save a spare copy first with Save to File As.

  2. Search every script

    Open Find All / Replace All (Ctrl+Shift+F on Windows, ⌘⇧F on Mac) and search for the word the notice names: getfenv, require, loadstring, webhooks or InsertService.

  3. Jump to it

    Double-click a result to open the script at that line. If a script isn't yours and the map or model works without it, deleting the whole script is the quickest fix.

getfenv or setfenv

getfenv and setfenv read or change a script's environment. Backdoors use them to reach code and objects without naming them, so nobody reading the script sees what runs.

  • A script you don't need (an old "anti-lag", "fire" or "virus remover" script that came with a free model): delete it.
  • Your own code: use the thing directly. getfenv().script is just script, and getfenv(0).game is just game.
  • A framework that needs it: use a current version that doesn't, or leave it out of the file you sell.

require with an asset id

require(1234567890) loads a ModuleScript from the Roblox library by its number every time the game runs. Its owner can change that module whenever they like, and every game that loads it runs the new code. A require of a module inside the file, like require(script.Parent.Settings), is fine.

  1. Bring the module into the file

    Open View, then Command Bar, paste the line below with the module's number, and press Enter. The module appears in ServerScriptService.

  2. Read it

    Open the module and look through it. If it has its own require of a number, getfenv or loadstring, it's a backdoor: delete it and the line that loaded it.

  3. Point the script at it

    A module loaded by its number is always named MainModule, so change require(1234567890) to require(game.ServerScriptService.MainModule). If you rename or move the module, use its new name and place.

game:GetObjects("rbxassetid://1234567890")[1].Parent = game.ServerScriptService

This only works for a module that's public on Roblox. If it isn't, or it's someone else's paid system, it can't go in a file you sell: leave that part out or write your own.

Scrambled (obfuscated) code

Code turned into a wall of random names and numbers can't be read, so Forja can't tell a buyer it's safe. Upload the readable code you wrote. Forja doesn't accept scrambled scripts, even your own.

Number-coded text and hidden code

  • Text spelled as numbers, like "\104\105" or string.char(104, 105): write the text itself ("hi"). Backdoors spell out web addresses this way so a search doesn't find them.
  • Code pushed far to the right after a lot of spaces: scroll right on that line, or click it and press End. Delete what's out there.

Webhooks, loadstring, InsertService and the rest

  • Posts to a Discord webhook (discord.com/api/webhooks)

    What to doDelete it. A game a buyer runs shouldn't send their data to your Discord.

  • Uses loadstring or HttpGet to run text as code

    What to doDelete it, and put the code it ran in the script itself if you need it.

  • Loads a model with InsertService:LoadAsset and a number

    What to doBring the model into the file the same way as a module (the command bar line above), and use it from there.

  • Runs a Roblox product's description as code

    What to doDelete it. It's a hidden way to load outside code.

  • Reaches for the login cookie (.ROBLOSECURITY)

    What to doDelete it. No game needs a player's login.

Upload the fixed file

  1. Save the file

    In Studio, File, then Save to File As, as .rbxl or .rbxm like before.

  2. Replace it on Forja

    Open your listings, choose Edit on this one, remove the old file, upload the new one and press Save changes.

  3. It's checked again right away

    Forja reads the new file as you save. A clean file puts the listing back on the marketplace, with no one to wait for.

Not sure what's left in a file? The free file viewer shows every script in a .rbxl or .rbxm in your browser, and the backdoor scanner marks the risky lines.

Questions

Can someone at Forja clear my script instead?

The check decides by itself, the same way for every store, Forja's own included. Change the code and it passes.

Will buyers who already have it lose their download?

No. They keep it while the listing is off the marketplace, and the listing comes back as soon as a clean file is saved.

My map doesn't use any scripts. Why was it held?

Something in it does: a free model, a light or a tree often carries a script. Search for the word the notice names, or open the map in the file viewer to see every script in it.

Is every require a problem?

No. A require of a ModuleScript inside the file is normal. Only a require of a number loads code from outside.

All guides