Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 21 Sep 2013 07:20 PM |
I edited this animation script from the default one that is in the character. This part doesn't work. How come?
function onRunning(speed) if speed>0 then pose = "Running" while pose == "Running" do --script.Parent.LeftBackarm["Left Elbow"].C0 = script.Parent.LeftBackarm["Left Elbow"].C0 * CFrame.Angles(1,0,0) --script.Parent.RightBackarm["Right Elbow"].C0 = script.Parent.RightBackarm["Right Elbow"].C0 * CFrame.Angles(1,0,0) for i = 1,6 do script.Parent.Torso["Left Hip"].C0 = script.Parent.Torso["Left Hip"].C0 * CFrame.Angles(.15,0,0) script.Parent.LeftThigh["Left Knee"].C0 = script.Parent.LeftThigh["Left Knee"].C0 * CFrame.Angles(.2,0,0) script.Parent.RightThigh["Right Knee"].C0 = script.Parent.RightThigh["Right Knee"].C0 * CFrame.Angles(-.2,0,0) script.Parent.Torso["Right Hip"].C0 = script.Parent.Torso["Right Hip"].C0 * CFrame.Angles(-.15,0,0) script.Parent.Torso["Left Shoulder"].C0 = script.Parent.Torso["Left Shoulder"].C0 * CFrame.Angles(.15,0,0) script.Parent.Torso["Right Shoulder"].C0 = script.Parent.Torso["Right Shoulder"].C0 * CFrame.Angles(-.15,0,0) wait() end for i = 1,6 do script.Parent.Torso["Left Hip"].C0 = script.Parent.Torso["Left Hip"].C0 * CFrame.Angles(-.15,0,0) script.Parent.Torso["Right Hip"].C0 = script.Parent.Torso["Right Hip"].C0 * CFrame.Angles(.15,0,0) script.Parent.LeftThigh["Left Knee"].C0 = script.Parent.LeftThigh["Left Knee"].C0 * CFrame.Angles(-.2,0,0) script.Parent.RightThigh["Right Knee"].C0 = script.Parent.RightThigh["Right Knee"].C0 * CFrame.Angles(.2,0,0) script.Parent.Torso["Left Shoulder"].C0 = script.Parent.Torso["Left Shoulder"].C0 * CFrame.Angles(-.15,0,0) script.Parent.Torso["Right Shoulder"].C0 = script.Parent.Torso["Right Shoulder"].C0 * CFrame.Angles(.15,0,0) wait() end for i = 1,6 do script.Parent.Torso["Left Hip"].C0 = script.Parent.Torso["Left Hip"].C0 * CFrame.Angles(-.15,0,0) script.Parent.Torso["Right Hip"].C0 = script.Parent.Torso["Right Hip"].C0 * CFrame.Angles(.15,0,0) script.Parent.LeftThigh["Left Knee"].C0 = script.Parent.LeftThigh["Left Knee"].C0 * CFrame.Angles(-.2,0,0) script.Parent.RightThigh["Right Knee"].C0 = script.Parent.RightThigh["Right Knee"].C0 * CFrame.Angles(.2,0,0) script.Parent.Torso["Left Shoulder"].C0 = script.Parent.Torso["Left Shoulder"].C0 * CFrame.Angles(-.15,0,0) script.Parent.Torso["Right Shoulder"].C0 = script.Parent.Torso["Right Shoulder"].C0 * CFrame.Angles(.15,0,0) wait() end for i = 1,6 do script.Parent.Torso["Left Hip"].C0 = script.Parent.Torso["Left Hip"].C0 * CFrame.Angles(.15,0,0) script.Parent.Torso["Right Hip"].C0 = script.Parent.Torso["Right Hip"].C0 * CFrame.Angles(-.15,0,0) script.Parent.LeftThigh["Left Knee"].C0 = script.Parent.LeftThigh["Left Knee"].C0 * CFrame.Angles(.2,0,0) script.Parent.RightThigh["Right Knee"].C0 = script.Parent.RightThigh["Right Knee"].C0 * CFrame.Angles(-.2,0,0) script.Parent.Torso["Left Shoulder"].C0 = script.Parent.Torso["Left Shoulder"].C0 * CFrame.Angles(.15,0,0) script.Parent.Torso["Right Shoulder"].C0 = script.Parent.Torso["Right Shoulder"].C0 * CFrame.Angles(-.15,0,0) wait() end end else pose = "Standing" end end
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|
darthpyro
|
  |
| Joined: 18 Aug 2009 |
| Total Posts: 3569 |
|
|
| 21 Sep 2013 07:22 PM |
| Got an output? This is REALLY the kind of script that you need an output for... |
|
|
| Report Abuse |
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 21 Sep 2013 07:23 PM |
No output. Sorry, I forgot to mention that
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 21 Sep 2013 07:24 PM |
speed is defined later on
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 21 Sep 2013 08:21 PM |
?
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 22 Sep 2013 10:26 AM |
bump
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 22 Sep 2013 05:23 PM |
It is simply just a variable to determine which animation is playing. Its not an actual object
Age of War Update Forum: [http://www.roblox.com/Forum/ShowPost.aspx?PostID=110942955] |
|
|
| Report Abuse |
|