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
 

Animation won't play

Previous Thread :: Next Thread 
Jason27993 is not online. Jason27993
Joined: 25 Sep 2010
Total Posts: 345
09 Jun 2014 01:57 PM
Hello everyone,
so i tried to make an Animation with the roblox animation tool thingy, i exportet the animation , its saved and also in my animations, i then tried to call it per script(used the script from the wiki)

local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=160644268"
local animTrack = Tool.Parent.Humanoid:LoadAnimation(animation)
animTrack:Play()

But i don't know why, this won't play the animation, i get 0 errors, and when i add a print("Text") at the end 'Text' gets printed so everything should be fine, i allready tried to look if Tool.Parent.Humanoid is wrong but its not, in fact its the player that used the tool.
Anyone knows how to play the animation?If so then please help me here.

Sincerely, Jason27993
Report Abuse
Jason27993 is not online. Jason27993
Joined: 25 Sep 2010
Total Posts: 345
09 Jun 2014 02:50 PM
Someone has a idea?
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