I was wondering but how would i change the Values of GripRight inside a script? What i'm trying to do is change the Values of GripRight so that when my character aims my gun it changes the GripRight's Value to " 1,0,0". I tried this by doing
1 | Tool.GripRight = Vector 3. new( 1 , 0 , 0 ) |
But nothing happens. I have checked the wiki for Grip, but there doesn't seem to be anything on changing the Grip inside a script. Can someone please help me?
Inside of Tool
objects, there is a CFrame named Grip
. It can be used to easily change the grip without much coding.
1 | local Tool = workspace.Tool |
2 | Tool.Grip = CFrame.new( 0 , 0.5 , 1.2 ) * CFrame.Angles(math.rad( 45 ), 0 , 0 ) |