Okay, I am utmost confused right about now. Normally I would be able to solve these issues myself, but I’m stumped. I’m programming a conveyor for my game, and honestly, I expected it to take at most a minute to implement the script. but nooo. The velocity is always going in the same direction even though I’ve implemented a check for the current rotation of the conveyor, yet it instead always goes to (0, 0, 5).

I know it’s likely a very simple solution, but I honestly don’t see why this isn’t working. At first I thought maybe the script is running before the rotation is applied to the object, but that’s not the case. To sum up the issue, it’s always registering the Y orientation as being 0.

```
if Conveyor.Orientation.Y == 0 or 180 then
if Conveyor.Orientation.Y == 180 then
Conveyor.Velocity = Vector3.new(0, 0, -5)
else
--Always selecting this option even though it's not correct.
Conveyor.Velocity = Vector3.new(0, 0, 5)
end
else if Conveyor.Orientation.Y == 90 or -90 then
if Conveyor.Orientation.Y == 90 then
Conveyor.Velocity = Vector3.new(5, 0, 0)
else
Conveyor.Velocity = Vector3.new(-5, 0, 0)
end
end
end
```