Why are you creating a new topic about a topic that you have just created?
What do you mean it won’t work? What exactly isn’t working? Is the trail part not being destroyed? Are you getting any errors or warnings in your console?
Also, are you doing this in a local or a server script. Judging by this line of code here:
I assume you are doing this in a local script, which won’t work because the trail part will only be deleted on the client but not on the server.