I have a mine script on the server that should only be for gold, that works fine. Now I have copied the script, renamed what should be specific for iron and as soon as I’m e.g. at the iron mine and mine things there I get the items twice (see picture).
Can’t see the error in the script at first glance my guess would be you are using the same names for the server events and thus triggering them in both scripts when you just want to trigger one of them.
Fix would be to rename all your server events and their respective calls on the client.
So by Calling TriggerServerEvent(“Farming:Mentalcatch”,Config.Item1, Config.Item2) you trigger it in the server side of the gold script and in the iron script.