I made a gun inside ROBLOX studio and changed the grip position using CloneTrooper1019's ToolGrip Editor. It works inside studio but in game it rotates to a different position. I was wondering how would I set the grip inside a code so hopefully its fixed or someone could tell me a different solution to the problem. Thank you.
As seen here the properties
GripForward
GripRight
GripUp
They all determine rotation
So you could so something like this
01 | local tool = script.Parent |
02 | local Forward = tool.GripForward |
03 | local right = tool.GripRight |
04 | local up = tool.GripUp |
05 |
06 | while wait( 1 ) do |
07 | tool.GripForward = Forward |
08 | tool.GripRight = right |
09 | tool.GripUp = up |
10 | end |
Consider accepting this answer if it helped you as it will give us both reputation.