Ive got a few scripts where when touching part adds one to gui. Then disappears although i want multiple of those, but when duplicating only 1 works

Ive got a few scripts where when touching part adds one to gui. Then disappears although i want multiple of those, but when duplicating only 1 works

Script for GUI coins


Server script service

Starter character script

For the startercharacter script, after touching the coin the first time, it’ll break since the script is pathed to that one coin, not any other coins that get duplicated. Suggest deleting the script and add a script in the coin that adds 1 to the stats so it works every time.
This new script will detect a touch, add 1 to the player’s stats, and delete itself.