How can I make footsteps leave a trail?

Is it possible to make the trail leave particles? I want to make an NPC leave fire trails when they walk and the fire slowly fades out.

Fire trails coming from the right and left leg of the NPC?

A trail will probably not be the best option because (assuming the trail is anchored to the players feet) if the player jumps then the trail will look like it’s floating. I’m not the best scripter but maybe make a new decal for each footstep on the ground? That might be bad for performance though.

I’m probably misunderstanding, but is this perhaps the kind of thing you would want?

and/or this?

2 Likes

Here’s a proper example of what I mean, credit to Stonksware
https://gyazo.com/c39955c6143d46160fbfa1cfb83e2eee

I see, give me a second please.

The fire could ofc be smaller or deactivated when not moving, just focus on when the NPC walks for now, does that seem to be what you’re wanting?

Can the flames stay on the last stepped position longer?

1 Like

Like duration time for being there before disappearing?

1 Like

Exactly what I’m trying to say

1 Like

Can you make the fire particles get spawned in the red footstep things and then slowly disappear?

I can, yes. Hold on.

1 Like

Exactly how I wanted it to look like

fireeffects.rbxl (43.8 KB)

2 Likes

How can I make the script only work for the npc and make it work everywhere?

You should avoid this kind of comments adding nothing to the conversation. Are you sure or not?

Replying to OP: @AimP0int this is easily achievable with trails and textures. Here is a reply from another similar topic:

Reply 1

Reply 2

4 Likes

Yeah avoid my reply. Its not acceptable to David’s standards.

2 Likes

Beams has attachments as trails. If a trail doesnt have an attachment, he will just be using lifetime. Beams requires 2 attachments. So it doesn’t really work well.

1 Like