local eSize = Vector3.new(20.3, 0.34, 0.68)
local ePos = CFrame.new(Beam.CFrame.X, Beam.CFrame.Y, Beam.CFrame.Z + 10.125)

local info = TweenInfo.new(
    0.2,
    Enum.EasingStyle.Quad,
    Enum.EasingDirection.InOut,
    0,
    false
)

local partRe = {
    Size = eSize,
    CFrame = ePos
}

local tw = ts:Create(Beam, info, partRe)
wait(0.4)
tw:Play()

The CFrame works fine and so does the size, but the main problem is is that it rotates the cylinder 90 degrees so it's facing the wrong way, I have tried tweening the rotation but it does nothing Any help would be appreciated

EDIT > Admin please lock

2 comments

0

If I'm not mistaken, multiplying a CFrame * CFrame.Angles(0,math.pi/2,0) will place the object with an orientation of 0,0,0

0

Thank you