AnonyAnonymous
#139204654Friday, July 04, 2014 11:50 AM GMT

Alternatively, you could rotate the hat in studio and get the Vector3 Rotation Value from it's properties and use that within the script.
AnonyAnonymous
#139274661Saturday, July 05, 2014 2:42 AM GMT

Actually, I'll explain more in depth. Vector3, which is the 3D Vector in this sense, encompasses things such as the Position, Rotation, Magnitude, and more. The Vector3 utilizes the typical "XYZ" axis which you've probably learned about to an extent, so for instance, If I used Part.Position = Vector3.new(1,2,3) 1 would be the X axis 2 would be the Y axis 3 would be the Z axis Hopefully this helps you.
AnonyAnonymous
#139513914Monday, July 07, 2014 7:48 AM GMT

Alright, an example would be, Rotation uses Vector3, an example would be, Part.Rotation = Vector3.new(XAxisNumbHere,YAxisNumberHere,ZAxisNumberHere)
AnonyAnonymous
#141270993Wednesday, July 23, 2014 1:43 PM GMT

math.random() requires parenthesis and parameters, an example would be, math.random(1,10) As for rotation, you would use Vector3. An example would be, game.Workspace.Part.Rotation = Vector3.new(math.random(),math.random(),math.random())
AnonyAnonymous
#141272037Wednesday, July 23, 2014 1:58 PM GMT

"Rotation" is a property, Vector3 utilizes XYZ, an example would be, game.Workspace.Part.Rotation = Vector3.new(X,Y,Z)