```
while wait(1/60) do
script.Parent.CFrame -= CFrame.Angles(0,math.rad(5),0)
end
```

This says that it expected Vector3 but got CFrame instead, why is that?

```
while wait(1/60) do
script.Parent.CFrame -= CFrame.Angles(0,math.rad(5),0)
end
```

This says that it expected Vector3 but got CFrame instead, why is that?

because CFrame uses multiplication/division in order to substract or add by its own number

`(CFrame) / (CFrame)`

(correct)

`(CFrame) - (CFrame)`

(incorrect)

Minus (-) is only used if u wanna substract cframe with vector3.

(CFrame) - (Vector3) (correct)

`CFrame.new(0, 5, 0) * CFrame.new(0, 5, 0) = CFrame.new(0, 10, 0)`

1 Like

Thank you for the response, I am very new so I am confused; how would I make this code above work using Vector3 since i want to rotate it which used subtraction(i think)

you can instead do

```
script.Parent.CFrame /= CFrame.Angles(0,math.rad(5),0)
```

where `/`

means substraction for CFrame