StringValue Won't Save

Quick question. When I change a StringValue’s name like this:

object.Name = object2.Name.."bread"

DataSave will not save it.
But if I remove the bread from the end:

object.Name = object2.Name

It works perfectly fine. Why does this happen and how do I save bread at the end?

Only your data script can give you the answer. I’m assuming that when you load data you reference it as the name without the string "bread" so you load the old value instead.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.