Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i set Attachment0 to NeckAttachment and Attachment1 to WaistRigAttachment?

Asked by 5 years ago
Edited 5 years ago

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
0
Parent argument to Instance.new is deprecated. Assign the parent last for better performance.! User#19524 175 — 5y

Answer this question