How do I make a part (and any parts that are a child of it) flip upside down?

What code can replicate this:

A part and it’s children parts are flipped upside-down

If you need more info let me know, this is pretty simple I just woke up so I probably am just missing something simple to do this

1 Like
part.CFrame *= CFrame.Angles(math.pi, 0, 0)

for i, v in part:GetChildren() do
	if not v:IsA("Part") then continue end
	v.CFrame *= CFrame.Angles(math.pi, 0, 0)
end
1 Like

Sorry, this is a bit off topic, but I feel like I need to point out, that having parts be children of other parts can sometimes cause them to act strange. (at least from what I have experienced)

Its a better structure to put parts in folders and models instead.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.