Hey, I’m having some problems with my script. I tried to make a sphere-shaped part enlarge on the y-axis and become thin so it looks like wind, but there’s a problem. It’s not working. Everything spawns and it becomes transparent like the tween told it to do, but the size just isn’t changing.
Here’s my code:
coroutine.wrap(function()
for i = 1,8 do
local x = Instance.new("Part")
x.Shape = "Ball"
x.Parent = workspace
x.Size = Vector3.new(4,4,4)
x.CFrame = child.CFrame*CFrame.new(math.random(-10,10),math.random(-5,5),math.random(-5,5))
x.Anchored = true
x.CanCollide = false
game.Debris:AddItem(x,1.5)
game:GetService("TweenService"):Create(x,TweenInfo.new(0.5,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0),{Color = Color3.fromRGB(255, 255, 255),Size = Vector3.new(0,30,0),Transparency = 1}):Play()
end
end)()```