hello everyone my question: i had creat to tycoon and use the script that in Workspace(Used to increase player money )?but now i use at script in ServerStorage ?and is does not work?so i should how to Revise script?thanks!
script:
local Values = script.Parent.Parent.Parent.Parent.Values
while wait(2) do if Values.OwnerValue.Value ~= nil then Values.MoneyValue.Value += script.MoneyValue.Value end end
another local Values = script.Parent.Parent.Parent.Values local CashValue = script.Parent.Parent.CashierTable.Table.Script.CashValue
if Values.OwnerValue.Value ~= nil then CashValue.Value += 5 end
thanks for reading!
Put the script in 'ServerScriptService' instead. It's where all server scripts should go. Server Storage will just keep your script there and it will never run, it is just for storing items.