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

How do I make a CFrame rotate model?

How do I make this line: Model:SetPrimaryPartCFrame(Model:GetPrimaryPartCFrame() * CFrame.new(0,0.05,0)) Rotate?

2 answers

Did you try unanchoring it?

or try putting this script into the part

local spin = script.Parent 
local a = 0
repeat
	spin.Rotation = Vector3.new( 0, a, 0) 
	a = a + 1
until a == 6 --whatever number you like

1 comment

0

btw i haven't tested out this short script and i just whipped it out of my head in a few minutes so if you have any problems just ask

while true do
 script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(.1,.1,.1)
 wait()
end

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