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!
I wanted to make something like this:
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
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
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
Just had to go outside sry. I’ll check it out when I reach back. Thanks tho!