How do you abbreviate your leaderstats?

Does it throw an error and it is a LocalScript or a Script?
And what’s the source code of the ModuleScript
Try something like this (assuming you’ve named the module MoneyLib)

local ServerScriptService = game:GetService("ServerScriptService")
local MoneyLib = require(ServerStorage:WaitForChild("MoneyLib"))
-- Test to see if this prints
print(MoneyLib.DealWithPoints(1234)) --> 1.23k
-- Assign it to a StringValue in the leaderstats folder
[StringValue in the leaderstats folder of a player].Value = MoneyLib.DealWithPoints(value)

I’d put it on the ReplicatedStorage but it’s up to you.