Trial not being attached

Why is the trial not attaching to the player? The attachments are in the right spots? It works when it is on a rig but not the player?

game.ReplicatedStorage.Abilites.Speed.OnServerEvent:Connect(function(plr)
	local neweffect = game.ReplicatedStorage.Speedefect.ParticleEmitter:Clone()
	local Topattachment = game.ReplicatedStorage.Speedefect.TopAttachment:Clone()
	local Bottomattachment = game.ReplicatedStorage.Speedefect.BottomAttachment:Clone()
	
	neweffect.Parent = plr.Character.HumanoidRootPart
	Topattachment.Parent = plr.Character.HumanoidRootPart
	Bottomattachment.Parent = plr.Character.HumanoidRootPart
	plr.Character:FindFirstChild("Humanoid").WalkSpeed = 32
	
	task.wait(55555)
	neweffect:Destroy()
	Topattachment:Destroy()
	Bottomattachment:Destroy()
	
	plr.Character.Humanoid.WalkSpeed = 16
end)

Video:

1 Like

bump

check the position of the attachments

they are relative to the parented part

im pretty sure that you need to set the attachment values of the cloned trail to the new ones you also cloned, as they arent auto set. i could be wrong though but give it a try

image
I think they are

what type of values are you talking about?

As he said, you need to specify the attachments for clone:

neweffect.Attachment0 = Topattachment
neweffect.Attachment1 = Bottomattachment
1 Like

How would i get attachment0 and attachment1?

im dumb i figured it out thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.