Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can i rotate a Model when welded to the Character?

I tried to rotate the model with :SetPrimaryPartCFrame but it didn't work because it keeps the rotation of the character this is what I have:

Dragon:MoveTo(HumanoidRootPart.Position)
			Dragon:SetPrimaryPartCFrame(HumanoidRootPart.CFrame                                                                  
                        *CFrame.Angles(0, 	math.rad(270), math.rad(90)))
			wait(2)
			local W = Instance.new("Weld",HumanoidRootPart)
			W.Name = "DragonWeld"
			W.Part1 = HumanoidRootPart
			W.Part0 = Dragon.MainMiddle

1 answer

✓ Accepted answer

Try doing:

W.C0 = W.C0 * CFrame.Angles(0, math.rad(270), math.rad(90))

This discussion is preserved as it was. New answers, comments, and votes are closed.