Every time I test my game out, this error pops up: ServerScriptService.Main:13: attempt to perform arithmetic (add) on number and Instance. And I have no idea how to fix this! Here is my script, and I will only be showing the line that has my error.
game.ReplicatedStorage.Remotes.Add.OnServerEvent:Connect(function(player, amount) local currency = 'Cash' player.leaderstats.currency.Value = player.leaderstats.currency.Value + amount end)
Can someone please help me fix this?
