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 » Scripters
Home Search
 

Re: How do you instantly stop an animation?

Previous Thread :: Next Thread 
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
22 May 2015 04:18 PM
So i'm making a sprinting system, when you hold shift, the walking animation changes, but the problem is, the default animation doesn't stop.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
22 May 2015 04:27 PM
You have to set the priority to action, it will override movement.


I script -~ chimmihc
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
22 May 2015 04:32 PM
Yea i tried that, and it didn't work. :/
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
22 May 2015 05:06 PM
Help?
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 May 2015 05:08 PM
if sprinting then
default = false
sprinting = true
else
sprinting = false
default = true
end

lol i wish it was that easy
Report Abuse
Septamology is not online. Septamology
Joined: 20 Jun 2013
Total Posts: 2811
22 May 2015 05:15 PM
Can't you just call :Stop() on the animation?

I don't know too much about animations, sorry if I'm wrong.
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
22 May 2015 05:18 PM
You have to call :Stop on the Animation Track
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
22 May 2015 05:18 PM
Nope you can't call it.
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
22 May 2015 05:19 PM
I'm just changing the ID of the default walking animation. When i do it manually it works.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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