Setup is not a valid member of ServerStorage "ServerStorage" - Client - LocalScript:1

I’m making a config script for my feedback system but I got this error

21:46:03.076  Setup is not a valid member of ServerStorage "ServerStorage"  -  Client - LocalScript:1

Module script

local setup = {
	--Settings
	
	["Webhook"] = "",
	
	--GUI
	
	["GUI_Title"] = "Feedback",
	["GUI_Description"] = "test",
	
	--Embed Message
	
	["Title"] = "Has sent a new feedback"
	
}

return setup

Local script:

local config = require(game.ServerStorage.Setup)

script.Parent.Text = config["GUI_Description"]

Photo:
RobloxScreenShot20221001_214637494

Clients cannot access server storage so you need to put it in replicated storage instead

2 Likes

You can’t access ServerStorage through LocalScripts. Use a RemoteEvent and link it to a ServerScript

I put the module script into Replicated Storage, somehow i got this error

22:09:25.009  Requested module experienced an error while loading  -  Client - LocalScript:1
local config = require(game.ReplicatedStorage.Setup)

script.Parent.Text = config["GUI_Description"]

I tried the same scripts and it worked fine for me, are you sure this isn’t some weird one-off roblox related bug?

Nvm i already resolve the problem, by removing the extra text under the return setup, anyways thanks for the help.