Issue with a Restart Script?~Fixed

I’ve gone through the forum and found help for a restart script and it works, except that when I restart some of my pickups are missing. I’m trying to completely reset the level, because on later levels I will have enemies who will take away from your count so you have to restart to get them all. Thanks for any help!

The problem is probably not the restart script, its how you keep track of the pickups.

Well some objects reload while others don’t, and I’ve looked and they all have the same components and scripts, so I’m a tiny bit lost as to why this is happening. I used the base 2D UFO scripts and have been building my own game off of it.

EDIT: Well I feel dumb. I figured out what the problem was. Thank you though.