Hi i have question to you guys... How can i set Attachment0 to NeckAttachment and Attachment1 to WaistRigAttachment?

Script:

wait(4) 

local trail = game.Workspace.PolskiKrystian9358.UpperTorso

if trail then
	Instance.new ("Trail",trail.Parent.UpperTorso)
	trail.Trail.Lifetime = 2
	trail.Trail.MaxLength = 0
	trail.Trail.MinLength = 0.1
	trail.Trail.WidthScale = 1
	trail.Trail.Color = Color3.new(255,0,0)
	trail.Trail.Transparency = 0.5
	trail.Trail.Enabled = true
	trail.Trail.Attachment0 = trail.NeckAttachment --here is problem
	trail.Trail.Attachment1 = trail.WaistRigAttachment --and here
	
end

1 comment

0

Parent argument to Instance.new is deprecated. Assign the parent last for better performance.!