So I am trying to rotate all three mesh parts at the same time but also so the shape stays intacted here my script:
local CB = script.Parent.CoffeeBody
local CT = script.Parent.CoffeeTopp
local CH = script.Parent.CoffeeHandle
while wait() do
CB.Orientation = CB.Orientation + Vector3.new(0,.1,0)
CT.Orientation = CT.Orientation + Vector3.new(0,.1,0)
CH.Orientation = CH.Orientation + Vector3.new(0,.1,0)
end
it rotates it but it does not do it all together it rotates each one separately so it does not stay in tact

4 comments
You can do this by putting them into a model, and then use Model:SetPrimaryPartCFrame(CFrame) to rotate everything around the Primary Part of the model that you can set.
I try doing that but it didnt work and it teleported it like a few blocks away from its original spot can you get me a sample code or like a example because I tryed to but it ended up not working.
sovled it
I think the easier solution is to weld other parts to the primary part.