How to insert trail in each body part

I wanted to make something like this:


Where there r trails behind each of the character’s body part (except for head and torso). Any way I can make that?’
Any help will be appreciated!

2 Likes
local Character = game.Players.LocalPlayer.Character

for _, BodyPart in Character:GetChildren() do
	if BodyPart:IsA('BasePart') and BodyPart.Name ~= 'Torso' and BodyPart.Name ~= 'Head' then
		YourTrail:Clone().Parent = BodyPart
	end
end
1 Like

thx! but how can I add the attachments to the body parts and seperate them slightly so that the trail is visible?

Let me do that for you really quick, give me a few seconds

1 Like
local ContentFolder = game.ReplicatedStorage:WaitForChild('Assets')
local Character = game.Players.LocalPlayer.Character

for _, BodyPart in Character:GetChildren() do
	if BodyPart:IsA('BasePart') and BodyPart.Name ~= 'Torso' and BodyPart.Name ~= 'Head' then
		task.spawn(function()
			local Attachment1 = ContentFolder.A1:Clone()
			local Attachment2 = ContentFolder.A2:Clone()
			local Trail = ContentFolder.Trail:Clone() :: Trail
			Trail.Attachment0 = Attachment1
			Trail.Attachment1 = Attachment2
			
			Attachment1.Parent = BodyPart
			Attachment2.Parent = BodyPart
			Trail.Parent = BodyPart
		end)
	end
end

you can edit it with the right variables

3 Likes

Just had to go outside sry. I’ll check it out when I reach back. Thanks tho!