Is it possible to

Requiring a module script from a local script that isn’t in replicated storage? Why need this? To be simple, testing.

module scripts don’t necessarily have to be in replicated storage normally, but it depends on where you put it. The local script can’t access it if it’s in ServerStorage, but if it’s in somewhere like game.Workspace the local script can. Unless I’m wrong.

See here for more info:
https://developer.roblox.com/en-us/api-reference/class/ModuleScript

1 Like

Module scripts can be anywhere. But beware, if they are put in something like server storage or server script service and you try to require them on the client, you will get errors because the contents of those 2 services do not replicate to the client. Same goes for things that are not visible on the server such as player scripts.

As long as it’s replicated to the client. It can access it and require it

If it’s in playergui? Accessable. Backpack? Accessable.

Starterpack, starterplayerscripts, Roblox character, workspace?

Accessable.

I’f the modulescript is not in any of these then they’re not accessable by localscripts