If the coinPrefab always get spawned like this and should behave like this everytime you could simply add some code in the coins script to send it flying whenever it is created, like in the Start() method.
If you need more control over when the coin flies away (maybe you also have coins that should be stationary in the level) you could do something like this:
Change “CoinScript” so it matches the name of the script attached to the coin prefab.
To make the coin actually fly away the best way depends on the type of game you have, but you could for example use Unity’s physics and add a force pulse in a random direction.