Why isn't my script working?

Hello, I’m trying to find “Modules” inside of “ServerScriptService”

Explorer:
Screenshot 2024-08-28 at 5.39.46 PM
Script:

wait(5)
local sss = game.ServerScriptService
local modules = sss:WaitForChild("Modules")

Output:

Infinite Yield Possible on ‘ServerScriptService:WaitForChild(“Modules”)’

If this a bug, please post in bug reports if anyone has access. Bug support takes awhile.

FYI, Local Scripts cannot access ServerScriptService. That is probably why it is never able to find Modules.

3 Likes

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