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.
✓ ANSWER ACCEPTED
How Do I Edit ToolGrips Inside Scripts?
1 answer
✓ Accepted answer
As seen here the properties
GripForward
GripRight
GripUp
They all determine rotation
So you could so something like this
local tool = script.Parent
local Forward = tool.GripForward
local right = tool.GripRight
local up = tool.GripUp
while wait(1) do
tool.GripForward = Forward
tool.GripRight = right
tool.GripUp = up
end
Consider accepting this answer if it helped you as it will give us both reputation.
This discussion is preserved as it was. New answers, comments, and votes are closed.
