Change a tool grip to another

Hello Developers, I need to change between two tool grips back and forth. however I’m struggling to assign the grips back and forth. currently im doing something like this
image

3 Likes

Is this returning an error? Also, I don’t think you can put a table in a CFrame but I might be wrong.

1 Like

image
i will try it without the table

I get this error
image

Yeah, you have to provide it in Vector3 format.

Can you send the new code? (extra characters cuz devforum)

image

image

Remove all of the brackets that define a table and just put the numbers. That might fix it

yeah i sent the wrong screen shot however without the table i get the error six

1 Like

Did you use CFrame.new? (more extra character aaaaa)

Yes I did (also extra character)

According to roblox, you can set the grip property perfectly fine.

Could it be because there are more the xyz in my CFrame.New

I don’t think so, CFrames have rotation data no matter what so that can’t be the issue.

Wait, so whats the error you are getting? and what line is causing that error

image
for this line of code
image

CFrames need 7 arguments, it needs 3 for the position and 4 for the quaternion data.

currently my tool only has six
image

I would just set the last one to 0 and see what happens.