of     1   

BogyMac
#140904566Sunday, July 20, 2014 1:54 AM GMT

I'm not sure what to do here. There is a lot more to this script, just to warn you, but it seems no matter what I do, the brick that is being rotated by another value is not rotating like it should no matter what I do. Part of script: brick.CFrame = CFrame.new(keyframes[i].Position.Value) * CFrame.Angles(keyframes[i].Rotation.Value.X / (math.pi * 2),keyframes[i].Rotation.Value.Y / (math.pi * 2),keyframes[i].Rotation.Value.Z / (math.pi * 2)) I am aware that CFrame.Angles() rotates things by radians, but how would I turn it into degrees? Thanks, -Bogy
sparker22
#140905032Sunday, July 20, 2014 1:59 AM GMT

There's a function in Lua's math library that can do this. math.rad(degrees) You input however many degrees you want, it will output the degrees into radians and then you can rotate it that way.
BogyMac
#140905289Sunday, July 20, 2014 2:02 AM GMT

Thanks sparker. As a matter of fact, not 5 seconds after you posted this did I find that exact same solution xD
Lacryma
#140905349Sunday, July 20, 2014 2:02 AM GMT

u do this, math.random(-1337, 1337) it will make ur code supr l33t
BogyMac
#140905470Sunday, July 20, 2014 2:04 AM GMT

Works like a charm! Thanks Spark xD
BogyMac
#140905527Sunday, July 20, 2014 2:04 AM GMT

7h4nks f0r th3 t1p Du3l1ng

    of     1