So currently I am trying to create a skill tree, but for some reason whenever I try to change for example a the damage value and print it, the change doesnt appear on the module script when I print it there, but it does when I print it from the local script I changed it from.
v.MouseButton1Click:Connect(function()
if v:FindFirstChildOfClass("IntValue") then
local fireBall = require(game.ReplicatedStorage.Skills.Fireball)
for upgrader,data in pairs(fireBall.Settings) do
if upgrader == v:FindFirstChildOfClass("IntValue").Name then
data = data + v:FindFirstChildOfClass("IntValue").Value
end
end
end
end
end)
