I tried the script couple of ways and It didn't work out so they spawn in the center of the baseplate rather position part.
As you see I spawned the yellow part and the explosive was meant to be positioned in the yellow part, but the explosive just stays the center of the baseplate.