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
Tool.GripRight = Vector3.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.
local Tool = workspace.Tool Tool.Grip = CFrame.new(0,0.5,1.2) * CFrame.Angles(math.rad(45),0,0)