As I’m using a module made by somebody else, I am unsure how exactly to combat the issue, but, if I’m able to I’d be able to implement a great system onto my game. This happens whenever I attempt to require a module script and shortly afterwards it spits out two errors, but I am assuming that they’re both related to the same issue.
You may a snippet of code from the module that I believe is causing the issue.
Serverscript
local blockedUsers = SGS:GetCore('GetBlockedUserIds')
local playerBlocked = SGS:GetCore('PlayerBlockedEvent')
local playerUnblocked = SGS:GetCore('PlayerUnblockedEvent')
local playerFriended = SGS:GetCore('PlayerFriendedEvent')
local playerUnfriended = SGS:GetCore('PlayerUnfriendedEvent')
localscript
require(game:GetService("ReplicatedStorage"):WaitForChild("PlayerList"))