Model Rotation issue

Hi everyone, i’m making an Inception style game where you have to reach the exit whilr the whole level rotates on himself

The issue is that the level when rotating has a really bad twitching problem and players somethimes fall out of it.

What solutions have you tried so far? I tried something with CFrames, Vector 3 and Hinges but seems not to work or at least i’ve done something wrong when tried

Here is the game if you want to see it in first person

And here is the code if you need it

while true do
	script.Parent:SetPrimaryPartCFrame(script.Parent.Center.CFrame * CFrame.fromEulerAnglesYXZ(0,0,-.005))
	wait()
end
-- the code i'm using. Really simple-.
1 Like
while wait() do
  script.Parent:SetPrimaryPartCFrame(script.Parent.Center.CFrame * CFrame.Angles(0, 0, math.pi/50))
end