Hi, I am trying to connectmy modulescript (in RepStorage) to a localscript (in StaterGui), but every time I try it it says "error while loading requested module"
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local SoloQueueModule = require(ReplicatedStorage:WaitForChild("SoloQueue"))
script.Parent.Parent.Back.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Parent.SoloQueue.Enabled = false
script.Parent.Parent.Parent.Parent.Start.Enabled = true
SoloQueueModule.remove() -- remove function
end)

2 comments
It should provide more than just 'error while loading requested module', see if there are any more errors
Mate, I don't think you can require a module in a client script. (I think)