Im just getting into scripts and I have this Gui tycoon (located in StarterGuis) for collecting cash and.. For some reason every time you reset, The cash goes back down to 0. Can anyone please help? Thanks!
This is the script
function oc()
script.Parent.Parent.Money.Value = script.Parent.Parent.Money.Value + script.Parent.Parent.Collect.Value
script.Parent.Parent.Collect.Value = 0
end
script.Parent.MouseButton1Down:connect(oc)

1 comment
Thank you so much! Iv been trying for days to fix it x3