Module Require Error

So I am requiring my module in a server script and everytime I test the game it gives me these errors any ideas whats going on?
image
First lines of the module

--Variables
local tweenservice = game:GetService("TweenService")
local uis = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local char = plr.Character
local humrp = char:WaitForChild("HumanoidRootPart")
local MMFolder = game.Workspace.MM
local Swish = game.Workspace.MMSounds.Open

Where I require the module

Are you using a server script to require the module? If so you get this because LocalPlayer is nil to the server.

Wrong thread

[30 Characterssss]

OP is indeed giving require a reference to a ModuleScript. It is an issue within the code of it

Yes Im using a server script to require the module, but I need to use a function inside of the Module script

You need to use a local script if you want to use LocalPlayer.