How do I add a trail to the player's avatar

Hello, I want to attach a trail I have made to the player.
I have heard some things about the roblox humaniod,like the humaniod root part, but I am lost on how to put a trail on the player.
I have already tried putting the trail in starterplayer.
How would I attach the trail to the player?
P.S Sorry for the bad english

1 Like

Just parent the trail instance to the HumanoidRootPart through a script.

3 Likes

here ya go

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		local trail = game.ServerStorage.Trail:Clone() -- your trail
		trail.Attachment0 = char.HumanoidRootPart.RootRigAttachment
		trail.Attachment1 = char.Head.NeckRigAttachment
		trail.Parent = char.HumanoidRootPart
	end)
end)

Make sure your trail is in ServerStorage, this script is server sided and goes into workspace