my current script is this
local xValue = 20
local part = script.Parent
while wait(.05) do
part.Size = Vector3.new(xValue, 1, 1)
xValue = xValue + 0.5
if xValue >= 40 then
break
end
end
im new to scripting so dont make anything too complicated, all it does is expand in one direction and i want it to expand in all directions so i can use it in explosions example: https://youtu.be/9tBoj7FE6-g

1 comment
Also, to make the part growing in size smoother, you could add tween service so it tweens the current size to the new size.