Help with RemoteFunctions in module scripts

Can someone help me with Remotefunctions in modulescript? Here is my scripts
Local:

local RetrieveData = game:GetService("ReplicatedStorage").RetrieveData

local Data = RetrieveData:InvokeServer()
print(Data)

Module:

local RS = game:GetService("ReplicatedStorage")

local RetrieveData = RS.RetrieveData

local DataModule = {}

local function SendData(plr)
    return "Success"
end

RetrieveData.OnClientInvoke = SendData

return DataModule

It Dosent return how can i fix this?

in the module it should be:

RetrieveData.OnServerInvoke = SendData

OnClientInvoke will only be called when the client is invoked by RemoteFunction:InvokeClient()

That Dosent Work, ive tried that already.

have you required the module on the server?