It dose not seem like there is all that much going on, but frames definitely drop when running it. Is there a better way I can expand bricks and make it look smooth?
part1 = script.Parent.DarkOrb1
part2 = script.Parent.DarkOrb2
for i=0, 18,1 do
part1.Size = Vector3.new(3+i,3+i,3+i)
local orb1CFrame = part1.CFrame
local newPos1 = part1.Position
part1.CFrame = orb1CFrame - Vector3.new(0,newPos1.Y-oldPos1.Y,0)
part2.Size = Vector3.new(3.8+i,3.8+i,3.8+i)
local orb2CFrame = part2.CFrame
local newPos2 = part2.Position
part2.CFrame = orb2CFrame - Vector3.new(0,newPos2.Y-oldPos2.Y,0)
wait (.2)
end
|