As you’re getting started I strongly encourage you to take a look at Getting started with Defold Beside this, the problem you are facing is somehow misunderstanding of The building blocks of Defold, but don’t worry, here’s a quick explanation - you do not attach particles to sprites - just to game objects Particles, similarly to sprites, are components:
This means, you are also misinterpreting or not used yet messaging in Defold, so take a look here:
And again, here’s a quick explanation - your script and particlefx are in different objects. You could either move the script to the same object or modify your current script to take an absolute path: