I’m trying to make it for that a certain percent of a part is transparent, while the other percent isn’t. I first thought of tweening the transparency but that only tweens how much its transparent, not what percent is.

In the picture above I’m trying to make it so that the remainder of the block sticking out of the transparent part will be visible, while the percent of it inside of the transparent block will be transparent. Any help would be appreciated!