I'm adding trails in my game that are on your hands but every time I use this script it goes into the humanoidrootpart! Can anyone help?
Here's my code!
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local trail = game.ReplicatedStorage.RightHandTrail:Clone()
local trail2 = game.ReplicatedStorage.LeftHandTrail:Clone()
trail.Parent = char.RightHand
trail2.Parent = char.LeftHand
local attachment0 = Instance.new("Attachment",char.RightHand)
attachment0.Name = "TrailAttachment0"
local attachment1 = Instance.new("Attachment",char.LeftHand)
attachment1.Name = "TrailAttachment1"
trail.Attachment0 = attachment0
trail.Attachment1 = attachment1
end)
end)

2 comments
You just used 2 attachments in total, one in the left hand and one in the right. This causes the trail to go from hand to hand trough the rootpart.
Oh but what should I do to fix it?