(Just the first and the 11th one only, just to make it short) How do I make this working using this method: Vector3.new(tune.Rotation.X, -69.598, tune.Rotation.Z). Because on the X axis it is 90 until you get to 11. which is -90 and not 90 anymore. I want the Y axis to change only. Is there any way to make it work? This is the list of the rotations:
-- 1. -69.598 (Rotation: 90, -69.598, 90) -- 2. -51.347 (Rotation: 90, -51.347, 90) -- 3. -32.948 (Rotation: 90, -32.948, 90) -- 4. -17.872 (Rotation: 90, -17.872, 90) -- 5. -0.45 (Rotation: 90, -0.45, 90) -- 6. 16.889 (Rotation: 90, 16.889, 90) -- 7. 33.83 (Rotation: 90, 33.83, 90) -- 8. 47.591 (Rotation: 90, 47.591, 90) -- 9. 61.501 (Rotation: 90, 61.501, 90) -- 10. 77.796 (Rotation: 90, 77.796, 90) -- 11. 81.181 (Rotation: -90, 81.181, -90) -- 12. 64.382 (Rotation: -90, 64.382, -90) -- 13. 48.355 (Rotation: -90, 48.355, -90) -- 14. 30.9 (Rotation: -90, 30.9, -90) -- 15. 10.731 (Rotation: -90, 10.731, -90) -- 16. -6.548 (Rotation: -90, -6.548, -90) -- 17. -23.665 (Rotation: -90, -23.665, -90) -- 18. -40.07 (Rotation: -90, -40.07, -90) -- 19. -60.452 (Rotation: -90, -60.452, -90) -- OFF: -89.282 (Rotation: 90, -89.282, 90)
P.S. It doesn't have to be for all of them. Just only the 1st one and the 11th one.
You have to use math.rad()
which converts degrees into radians.
For example, I want to make a block go (90, 180, 45)
I would have to do
math.rad(90), math.rad(180), math.rad(45)