Character nil in a module script

I’m using this to get the character of my local player in a module script that is required by a server script, however I keep getting that “character” is nil, what could be the issue?

Are you using require from a server script or a local script?

I have never understood this type of thing:

plr: Player
character: Model

What is the reason?

Why not just:

local character = player.Character or player.CharacterAdded:Wait()

What are the variables seperated by a : for?

You can’t use really use .LocalPlayer in ModuleScripts

its just to classify the class type such as like the character is a model

The thing is (Module script is like server script,it doesnt compromise with local scripts.)