wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Apr 2013 04:40 PM |
So i have afor loop to make the tool look like its swinging(Its a bell), and its straight up not changing.
function swordOut() for i = 1,25 do Tool.GripForward = Vector3.new(Tool.GripForward + Vector3.new(0,-0.1,0)) Tool.GripRight = Vector3.new(0,0,1) Tool.GripUp = Vector3.new(0,1,0) print(Tool.GripForward) -- Note this Here -- wait() end end
Output: 1,0,0 1,0,0 1,0,0 1,0,0 1,0,0 1,0,0 1,0,0 and so on.. |
|
|
| Report Abuse |
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
| |
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 20 Apr 2013 05:18 PM |
The Vector3 value is unaffected due to the way you are creating one. I personally don't know the technical reason for this, but the fix is correcting the following format.
Tool.GripForward = Vector3.new(Tool.GripForward + Vector3.new(0,-0.1,0))
To
Tool.GripForward = Tool.GripForward + Vector3.new(0,-0.1,0) |
|
|
| Report Abuse |
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Apr 2013 07:55 PM |
| Sadly, it still refuses to work. |
|
|
| Report Abuse |
|