Module Scripts Completely Stopped Working in Any game i make

I’m not sure if i’m the only one Experiencing this Issue, but every time i try to Require Module script it Sends me this Error:
"MyFunctions is not a valid member of ModuleScript “Workspace.ModuleScript” "

I’ve looked everywhere i couldn’t find the issue, i Even Copied The Script From Dev Hub About Module Scripts and yet it doesn’t work.

Module:

-- Tables store multiple values in one variable
local MyFunctions = {}

-- Add a few functions to the table
function MyFunctions.foo()
	print("Foo!")
end

function MyFunctions.bar()
	print("Bar!")
end

-- ModuleScripts must return exactly one value
return MyFunctions

Server Script:

-- The require function is provided a ModuleScript, then runs
-- the code, waiting until it returns a singular value.
local MyFunctions = require(script.Parent.MyFunctions)

-- These are some dummy functions defined in another code sample
MyFunctions.foo()
MyFunctions.bar()

Снимок экрана 2023-10-11 в 11.06.05

I don’t Even know what to do at this point, i Tried Changing Module’s And Script’s Parent, And a lot of other stuff

1 Like

can you send a place file please so that we can see if it’s an issue on your end or with roblox?

1 Like

Place.rbxl (81.6 КБ)
Here

I’ve got no errors other than Roblox dying right now

what do you mean by “Roblox is dying”?

I can’t even create new games in Studio. I was gonna work on some stuff but couldn’t due to long loading times and things simply not working (e.g. things not loading in studio and experiences).

3 Likes

yeah, i had the same issue of Infinitely Loading Yesterday

1 Like

happens to me somehow mesh failed to load , and its damn annoying

doesn’t seem broken for me, you should wait a day and try again, then if that doesn’t work contact support or @bug-reports.

my wifi is okay im around 70 ms which is totally fine but once i join it takes long time to load which is weird and when i open rostud mesh failed to load

I got no errors
image
This is what my explorer looks like–
image

It looks like you’re trying to get a a ModuleScript inside of another ModuleScript? - Maybe put your module inside an Instance that you can access easily? (I might be rusty here, sorry.)

Maybe try something like this?

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MyFunctions = require(ReplicatedStorage:WaitForChild("MyFunctions"))

edit:

i’m also getting this. The load times are terrible. Waiting for someone to post a bug report on it or for roblox to notice it lol.

From what i can tell it looks like its affecting countries like Australia, New Zealand, Philippines, etcc.

It looks like you’re trying to get a a ModuleScript inside of another ModuleScript? - Maybe put your module inside an Instance that you can access easily? (I might be rusty here, sorry.)

I’ve Stated that i’m using a server Script to Require Module:

Server Script:

-- The require function is provided a ModuleScript, then runs
-- the code, waiting until it returns a singular value.
local MyFunctions = require(script.Parent.MyFunctions)

-- These are some dummy functions defined in another code sample
MyFunctions.foo()
MyFunctions.bar()

Weird, for me i have errors in Any game i Create