I am trying to perform a data save on a clone in a folder(The clone gets created when you buy the thing in the shop) Does anyone know how to Save(or data save this object)And one more thing is that I m already saving a module script of properties(This is tat module script)That apply to said model.
local module = {}
module.FluffInventory = {
BodyType = (""),
BodyColor = (""),
FluffDescription = (""),
FluffInfo = {
FluffName = (""),
FluffGender = ("")
}
}
return module
You need to use local module = require(moduleScript)
Then you can access a variable like so: module.FluffInventory
Those other variables called Fluff1, Fluff2, etc cannot be accessed outside of the module script because you need to define the variable as module.Fluff1 = ...
not Fluff1 = ....