So I want these parts to move to a target part (Attachments):
But for some reason, when it runs it goes all the way here, very far off from the target destination.
the script:
local c1 = rp.Effects.Pellet:Clone()
local c2 = rp.Effects.Pellet:Clone()
local c3 = rp.Effects.Pellet:Clone()
local c4 = rp.Effects.Pellet:Clone()
local c5 = rp.Effects.Pellet:Clone()
c1.Parent = workspace.Flowey.Flowey
c2.Parent = workspace.Flowey.Flowey
c3.Parent = workspace.Flowey.Flowey
c4.Parent = workspace.Flowey.Flowey
c5.Parent = workspace.Flowey.Flowey
c1.CFrame = workspace.Flowey.Flowey.CFrame
c2.CFrame = workspace.Flowey.Flowey.CFrame
c3.CFrame = workspace.Flowey.Flowey.CFrame
c4.CFrame = workspace.Flowey.Flowey.CFrame
c5.CFrame = workspace.Flowey.Flowey.CFrame
at(c1, 1, "Linear", "Out", {CFrame = workspace.Flowey.Flowey.Attachment1.CFrame})
at(c2, 1, "Linear", "Out", {CFrame = workspace.Flowey.Flowey.Attachment2.CFrame})
at(c3, 1, "Linear", "Out", {CFrame = workspace.Flowey.Flowey.Attachment3.CFrame})
at(c4, 1, "Linear", "Out", {CFrame = workspace.Flowey.Flowey.Attachment4.CFrame})
at(c5, 1, "Linear", "Out", {CFrame = workspace.Flowey.Flowey.Attachment5.CFrame})
(No errors or anything)