I Cannot Figure out how to keep a moddle rotated at -90 degreese

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    my moddle rotated -90 degreese in 1 script and 0 degreese in the next script
  2. What is the issue? Include screenshots / videos if possible!
    i have a vector force and for some reason it likes to veer to the side
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Ive tried to figure out how much its verring of and correct it but i cant find how to find how much its veering
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
    Im ok with anything that will work
local Number = 0
local Over = true
local Under = true
repeat
	Number = script.Parent.RotationPart.Rotation.Y
	if Number < -89.5 then
		Over = false
		print(Over)
	end
	if Number > -90.5 then
		Under = false
		print(Under)
	end
	if Over == false and Under == false then
		print(Number.." NotInAElse")
	else
		Number = Number - 90
		print(Number)
		script.Parent:PivotTo(script.Parent:GetPivot() * CFrame.Angles(0, math.rad(Number), 0))
	end
	print("Right")
	wait(0.5)
until false

This is the explorer


Thanks for all the help guys

There is a script that enables the script named “right”

Oh yeah and the script i just showed you is on the script nammed right

Please someone help ive been looking for a soulution all day