I have this ball I need to resize only by a script. It is inside of a box. But whenever it is being resized by the script, it goes on top of the box? The ball is non-collidable and anchored. I'm betting this has something to do with ROBLOX's physics
local ball = game.Workspace.Ball
local db = true
script.Parent.Touched:Connect(function()
if not db then
return
end
db = false
for i = 1,25 do
ball.Size = Vector3.new(i,i,i)
wait(0.05)
end
wait(1)
db = true
end)
The box is 5x5x5 and the ball is 1x1x1.
Why does the ball not go through the box?

2 comments
I tried that and it didn't work so i will try CFrames
CFrames will work for sure.