In my fps game I have a simple recoil script but I would like to to also randomly move the camera side to side, my problem is that it wont accept numbers under 1 any help?

Have you tried using math.rad() for numbers that arenâ€™t 0 in CFrame.Angles()? Youâ€™d likely have to increase 0.01 to something else. Though. Take this for example:

You want a 0.1Â° recoil? Quite unusual. Not sure if itâ€™ll work, however, as I havenâ€™t gone below 2Â°. There is nothing in documentation that i can find that says you canâ€™t go under 1Â° thoâ€¦

Using math.random() with no arguments returns a random number between 0 and 1 with lots of precision. Therefore, if you want to have randomization go smaller, you can do something like this: math.random()*.2-.1
This number picks a random number between 0 and 0.2 with higher precision, and subtracks 0.1 so the number is between -0.1 and 0.1.

FYI: math.random(a,b) is supposed to use arguments a and b as integers, not a number.