Help with 3d obby spinner obstacles

I have been recently making a 3d obby kinda like Mario 64 or Mario odyssey and I wanted one of the obstacles to be a lava spinner the problem is that the spinner is pivoting around the wrong spot

video of the problem

I have tried moving the origin position in blender (because the spinner is a mesh) and I also tried moving the pivot position in studio

Screen Shot 2022-02-23 at 1.28.46 PM

script I used to make it spin

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

Why not use a cylindrical constraint? Also if your using the Pivot Point you should probably be getting/setting the cframe with the Pivot Tools.