This can help with rotating around an object. Download the module from here or https://create.roblox.com/marketplace/asset/11922367711/OrbitModule.
Clockwise Script:
Counterclockwise Script:
Result:
1226.mp4
Part -> Part to be rotated.
Time -> Time until completion.
Speed -> Speed at which to rotate at.
Radius -> The size to make the cirle.
RotateAroundPos -> Position for Part to rotate around.
OrbitDirection -> Direction to rotate in. Valid Directions are "clockwise" and "counterclockwise".
isSpiraling -> If true move in a spiral.
SpiralWidth -> Width between spirals.
Part -> Part to be rotated.
Time -> Time until completion.
Width -> Size to make the triangle. Roughly equivalent to a radius of a circle.
RotateAroundPos -> Position for Part to rotate around.
Speed -> Speed at which to rotate.
OrbitDirection -> Direction to rotate in. Valid Directions are "clockwise" and "counterclockwise".
Part -> Part to be rotated.
Time -> Time until completion.
Width -> Size to make the rectangle. Roughly equivalent to a radius of a circle.
RotateAroundPos -> Position for Part to rotate around.
Speed -> Speed at which to rotate.
OrbitDirection -> Direction to rotate in. Valid Directions are "clockwise" and "counterclockwise".
Part -> Part to be rotated.
Time -> Time until completion.
Width -> Size to make the square. Roughly equivalent to a radius of a circle.
RotateAroundPos -> Position for Part to rotate around.
Speed -> Speed at which to rotate.
OrbitDirection -> Direction to rotate in. Valid Directions are "clockwise" and "counterclockwise".