Hi all, i'm new to scripting and don't know much, But it seems i have a problem with alot of tool meshes (Gear made by ROBLOX), And not quite sure how to fix it. http://imgur.com/XESSrt5 Any help?
This doesn't really have anything to do with scripting- you must rotate the handle so it's facing straight forward, I suggest you use the properties tab on the handle and set FrontSurface to Hinge so you can find the front of the sword.
Try rotating the tool:
thePart.CFrame=thePart.CFrame * CFrame.Angles(0,math.pi/2,0)
or
thePart.CFrame=thePart.CFrame * CFrame.Angles(0,-math.pi/2,0)
should work