Error with Data Stores

What do you want to achieve?
I am trying to make a data store system for my game.

What is the issue?
I am getting an error:

What solutions have you tried so far?
I have tried to look through the forums but found no problems related to my issue.

Here is the code:

local Players = game:GetService("Players")
local ServerScriptService = game:GetService("ServerScriptService")

local Template = require(ServerScriptService.PlayerData.Template)
local Manager = require(ServerScriptService.PlayerData.Manager)
local ProfileService = require(ServerScriptService.Libs.ProfileService)

local ProfileStore = ProfileService.GetProfileStore("Production", Template)

Any help is appreciated!

The error message “attempt to call a nil value” means that you are trying to call a function or property on a value that is nil. In this case, the error is occurring on line 8 of your script, which is the line where you are trying to call the function GetProfileStore().