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

How do i change the orientation of a model?

code:

local part = script.Parent.ModelHolder[Models]:Clone()
part.Parent = workspace
part:SetPrimaryPartCFrame(CFrame.new(Vector3.new(0,math.random(0,360),0)))

2 comments

0

You don't need the Vector3.new inside the CFrame

0

oh

1 answer

✓ Accepted answer

Try this and reply if it works or not

local part = script.Parent.ModelHolder[Models]:Clone()
part.Parent = workspace
part:SetPrimaryPartCFrame(part:GetPrimaryPartCFrame() * CFrame.Angles(0, math.rad(0,360), 0)) 

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