I am attempting to change an integer value in my replicated storage but to no avail.
using the following code:
local Gain = game:GetService("ReplicatedStorage"):WaitForChild(ClientModuleStorage"):WaitForChild(ClientDataStorage_Module").Income_Item["Canoe"].MuscleGain;
Gain.Value = Gain.Value * 1000;
end);
My ClientDataStorage_Module looks like this:
local v1 = {
BadgeId = {
Stickman = 2124484013,
Beast = 2124484014
}
};
v1.Income_Item = { {
Name = "Pencil",
MuscleGain = 1,
Price = 0,
MuscleBounce = 1
}, {
Name = "Log",
MuscleGain = 370,
Price = 75500,
MuscleBounce = 1
}, {
Name = "Canoe",
MuscleGain = 555,
Price = 111000,
MuscleBounce = 1
} };

1 comment
use a codeblock please