This function should change the value of RedFunds. It does change it in the output, but when I look at the IntValue in the properties tab it still shows its original value.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local funds = game.Workspace.Info.RedFunds.Value
local tickingIncrease = 1
function fundTick()
while wait(1) do
funds = funds + tickingIncrease
print(funds)
end
end
function main()
fundTick()
end
main()

1 comment
Awesome, thanks!