Error requiring ModuleScripts from an asset ID while in TeamCreate

  • Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.

In what seems to be only my access to one of my groups’ TeamCreate servers, I’m unable to perform specific tasks required from a ModuleScript asset ID.

  • How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.

This bug occurs every time I try to run a Studio test, local or server, with a requirement for any asset ID.

  • Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.
    This bug happens in Studio testing for my groups’ place Derelict.

  • Would a screenshot or video help describe it to someone? If so, post one.

When I run this block of code,

local discord = require(980924965)
local webhook = discord.newWebhook("https://discordapp.com/api/webhooks/357978903605805059/IXILXNKmXHqFhWWabl94nHzzmzr0wJl5iNzMWOAdnwpcva6a-TJq5aALpdAneiIcsjhd")
local lastError

game:GetService("ScriptContext").Error:Connect(function(msg, trace, from)
	local message = discord.newMessage()
	
	if msg and msg ~= lastError then
		message:setContent("**Derelict Error (Server):** `"..msg.."`")
		lastError = msg
	end
	
	webhook:send(message)
end)

I get this error:
Error

  • For graphics bugs, it is sometimes helpful to know your system specs, especially graphics card.

Non-graphical error.

  • When did the bug start happening? If we can tie it to a specific release that helps us figure out what we broke.

This bug began about three months ago and not even a full system reset didn’t do the trick.

  • Anything else that you would want to know about the bug if it were your job to find and fix it.

This bug is repeatable with any ModuleScript I require via asset ID. However, upon talking to my team about my issues, they all reported no similar issues, which is concerning, considering the duration of this issue.

2 Likes

This is intended behavior, as specified on Documentation - Roblox Creator Hub

  • Private modules cannot be loaded from studio. This makes it difficult to test games which rely on private modules.

The modulescript you’re trying to require is owned by FoxbyDev, and not your group. Allowing you to require another player’s private modules would make you able to obtain and see other modulescripts that they might want to use in another context.

1 Like

Alright, perhaps this one was a bad example, it was just my first error. This happens with moduleScripts for groups I’m in as well, such as a few hidden killswitches that my group member wrote.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.