I made a running script with stamina, and today I decided to remake it. One new thing I added was storing my values in a ModuleScript inside the Run LocalScript. In Studio it works perfectly but in-game it gives me this error and I can’t do anything
script V
--// SERVICES
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local TS = game:GetService("TweenService")
local ReplStorage = game:GetService("ReplicatedStorage")
local Event = ReplStorage.Events:WaitForChild("StaminaEvent")
--// CONFIG
Config = require(script.Config)
Maybe? I’m not fully sure on that but the problem happens before require is called. Everything inside of the parentheses needs to ‘resolve’, and script.Config should resolve to the Config module, but instead errors before require is even called.