generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I don't understand what I'm doing wrong.

Previous Thread :: Next Thread 
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
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
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 02:48 AM
anyone?
Report Abuse
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 03:10 AM
*Sigh*
Report Abuse
amazingmoney1 is not online. amazingmoney1
Joined: 26 Apr 2011
Total Posts: 518
26 Jan 2013 03:18 AM
Not sure but one of the lines is anime feet, not feel.
Report Abuse
amazingmoney1 is not online. amazingmoney1
Joined: 26 Apr 2011
Total Posts: 518
26 Jan 2013 03:18 AM
Anim_feet not anim_feel
Sorry it's late.
Report Abuse
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 10:42 AM
that's not it.
Report Abuse
amazingmoney1 is not online. amazingmoney1
Joined: 26 Apr 2011
Total Posts: 518
26 Jan 2013 10:46 AM
Didn't see that you defined it.
Report Abuse
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 10:47 AM
Could it be because it's a local sript?
Report Abuse
Usering is online. 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
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 11:13 AM
nope. didn't work...
Report Abuse
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 11:17 AM
this sure is a challenge.....
Report Abuse
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
26 Jan 2013 12:24 PM
SOLVED!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image