Spent the last 2 days making a coins system and it does not work (shocker)

The script works perfectly fine when I play-test it, add a print("success") inside the pcall to see if the script is running at intended(also add another print on the top of the function to see if the event fires at all).