-- Tweening size function

local tweenPartSize = function(part, duration, direction, size)
    
    local tween = tweenService:Create(part, TweenInfo.new(duration, Enum.EasingStyle.Sine, direction), {Size = size})
    tween:Play()

    return tween
end
