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: Is there a way to make a ### do an animation in roblox studi

Previous Thread :: Next Thread 
iiNerbaz is not online. iiNerbaz
Joined: 30 Mar 2014
Total Posts: 2629
28 Sep 2016 08:09 PM
Is there a way to make a npc do an animation in roblox studio? So by that i mean is there any plugin or something that when you are in edit mode you can make any npc do a animation?


Report Abuse
iiNerbaz is not online. iiNerbaz
Joined: 30 Mar 2014
Total Posts: 2629
28 Sep 2016 08:15 PM
Anyone?



Report Abuse
12904 is not online. 12904
Joined: 29 Oct 2012
Total Posts: 441
28 Sep 2016 08:22 PM
Same way you make a regular person do a animation..
Say it is the zombie

local LoadedAni = workspace.Zombie.Humanoid:LoadAnimation(Animation)
LoadedAni:Play()
Report Abuse
iiNerbaz is not online. iiNerbaz
Joined: 30 Mar 2014
Total Posts: 2629
28 Sep 2016 08:23 PM
Where do i run that command and how does roblox studio know what animation to play. I want it to play a specific animation i made in edit mode of roblox studio.


Report Abuse
12904 is not online. 12904
Joined: 29 Oct 2012
Total Posts: 441
28 Sep 2016 08:52 PM
put it in the zombie and when I said loadanimation(animation) but this in the animation slot. workspace.Zombie.Animation. Also make sure the zombie is in workspace and the animation is named "Animation".
Report Abuse
cowsoncows is not online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
28 Sep 2016 09:04 PM
Don't load the animation into the zombie's humanoid, you need to add something called an AnimationController into the NPC and load the animation into that.
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