|
| 26 Jan 2013 02:34 AM |
it's basically like if you walk, your run animation plays. if you stop, the idle animation plays. what did I do wrong?
function onRunning(speed) if speed>0 then hum = game.Players.LocalPlayer.Character.Humanoid anim_feet = hum:LoadAnimation(game.Workspace.NARUTORUN) --CHANGE ANIME TO THE NAME OF YOUR ANIMATION current = anim_feet current:Play(0.3)--END bum = game.Players.LocalPlayer.Character.Humanoid anim_feel = hum:LoadAnimation(game.Workspace.IDLE) --CHANGE ANIME TO THE NAME OF YOUR ANIMATION burrent = anim_feel burrent:Stop(0.3)--How long until animation plays. else current:Stop(0.5)--How long until animation plays. burrent:Play(0.6) end p.s. it's a localscript inside startergui |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 26 Jan 2013 03:18 AM |
| Not sure but one of the lines is anime feet, not feel. |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2013 03:18 AM |
Anim_feet not anim_feel Sorry it's late. |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Jan 2013 10:46 AM |
| Didn't see that you defined it. |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2013 10:47 AM |
| Could it be because it's a local sript? |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 26 Jan 2013 11:07 AM |
It doesn't look like you called the function/or connected it to an event. Put this in the top line of your script 'repeat wait() until game.Players.LocalPlayer.Character'
[ Content Trolled by Sorcus ] |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Jan 2013 11:17 AM |
| this sure is a challenge..... |
|
|
| Report Abuse |
|
|
| |
|