Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How Do I Edit ToolGrips Inside Scripts?

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.

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.