The beam doesn’t go upward instead it’s getting smaller when tweening, how do i fix this?
i have been looking for hours for this topics, none of it’s was found… or it’s just me.
Script :
function beamEffect(root)
local beamPrimary = beams.PrimaryPart
local beamRotation = beamPrimary.Orientation
its quite literally getting smaller because you are changing its size, if you want it to go upwards change its cframe instead
local BeamTween = ts:Create(beamPrimary, TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut), {CFrame = beamPrimary.CFrame * CFrame.new(0,10,0)}) --change 10 with how much you want it to go up
BeamTween:Play()