In a script I was tweening a cylinder part and saw how it increased in size from the center. It starts off as a flat circle, and then I want it to rise up to the cylinder shape, but when I do that, I noticed that it increases it's size from the center of the part, just as how CFrame and Positions are like that. Is there any way I can change the part from increasing in size by starting from the center, and instead have it go from being flat to rising up to being tall?
The script I tried:
local TS = game:GetService("TweenService") game.ReplicatedStorage.ShadowMagic.ShadowR.OnServerEvent:Connect(function(plr) local Cylinder = bottom:Clone() Cylinder.Size = Vector3.new(0.5,20,20) Cylinder.Position = plr.Character.Torso.Position + Vector3.new(0,-2,0) Cylinder.Anchored = true Cylinder.CanCollide = false Cylinder.Transparency = 0.2 Cylinder.Material = "SmoothPlastic" Cylinder.Parent = game.Workspace Cylinder.Name = "ShadCyl" local CylinderTI = TweenInfo.new( 1.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0 ) local CylinderProperties = { Size = Vector3.new(40,15,15), Transparency = 1 } local CylinderTween = TS:Create(Cylinder,CylinderTI,CylinderProperties) CylinderTween:Play() end)