Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

My Trail Is Not Working At All With No Errors. Any Ideas?

Everytime I Play Solo Or Online The Trail Is Not Their Even Though My Trail is In The ServerStorage And The Script Is In ServerScriptServce. Please Help

game:GetService("Players").PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		local trail = game:GetService("ServerStorage").Trail:Clone()
		trail.Parent = char.Head
		local A0 = Instance.new("Attachment",char.Head)
		A0.Name = "TrailAttachment0"
		local A1 = Instance.new("Attachment",char.Head)
		A1.Name = "TrailAttachment1"
		trail.Attachment0 = A0
		trail.Attachment1 = A1
	end)
end)

4 comments

0

Is it disabled

0

what

0

can you please explain more

0

bump

1 answer

✓ Accepted answer

The trail does not work because it only shows a trail between two attachments and those attachments are at the exact same position. You will have to change the position of one of the attachments and it will work just fine.

You can for instance do A0.Position = Vector3.new(10,0,0)

3 comments

0

Wouldn't you have to do like A0.Position = A0.Position + Vector3.new(0,10,0)?

0

You could but there is no reason to. All you would is to add Vector(0,10,0) to Vector3(0,0,0)

0

The position is the offset of its original place.

This discussion is preserved as it was. New answers, comments, and votes are closed.