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)