Im trying to have the non transparent part be placed on the bottom of the transparent part how can i do that?
You can try to lift the transparent part upward, then slide the non-transparent part under it. Or drag the transparent part on top of the non-transparent part.
1 Like
I want to do it automatically with code.
Oh okay, so that’s when you’d have to change the transparent part’s CFrame, so the X will be the same as the non-transparent. I’ll make a quick script for example.
1 Like
I found the anwser myself so im going to leave this here if someone needs it later.
local TransparentPart = game.Workspace.TransparentPart
local NonTransparentPart = game.Workspace.NonTransparent
local YPos = TransparentPart.Position.Y - TransparentPart.Size.Y / 2 + NonTransparentPart.Size.Y / 2
NonTransparentPart.Position = Vector3.new(TransparentPart.Position.X, YPos, TransparentPart.Position.Z)
Result:
1 Like
Damn I was just writing it now lol
Yes I did \ /
1 Like
Did you have the same idea?
somethingfor30limit
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.