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: How do I add an animation to the player?

Previous Thread :: Next Thread 
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 01:09 PM
^Title

Make like a keyboard, and Esc.
Report Abuse
markaaron is not online. markaaron
Joined: 21 Feb 2011
Total Posts: 455
28 Oct 2014 02:08 PM
Game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
local character = player.Character
local animateScript = character.Animate
animateScript.jump.JumpAnim.AnimationId = 'insert roblox page url that has the animation that you want to use here'
end)
end)
Report Abuse
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 02:20 PM
It isn't a jumping animation, it is a walking animation.

Report Abuse
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 02:23 PM
bump
Report Abuse
markaaron is not online. markaaron
Joined: 21 Feb 2011
Total Posts: 455
28 Oct 2014 06:06 PM
change the JumpAnim into WalkAnim and change jump into walk
Report Abuse
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 06:17 PM
How do I make it loop?

It stops after I walk a few feet.



Report Abuse
iondriver is not online. iondriver
Joined: 18 Nov 2012
Total Posts: 757
28 Oct 2014 06:18 PM
An infinite loop is

while true do
animation
end
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
28 Oct 2014 06:19 PM
There's an option to loop animations before you export them from the studio
Report Abuse
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 06:22 PM
@Rofl

I know, that didn't work.


Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
28 Oct 2014 06:28 PM
Could try force looping it with a while wait(xx) in coroutine so long as a key is down, or attach it to the humanoid walking event. Not too sure. I find animations to be really finicky in Roblox; they're never easy to implement.
Report Abuse
GammaGeek is not online. GammaGeek
Joined: 10 Aug 2014
Total Posts: 11182
28 Oct 2014 06:29 PM
Where would I put wait(xx) in the script?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Oct 2014 06:30 PM
When you jump, it plays an animation for a short amount of time, then transitions into the falling anim.
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
28 Oct 2014 06:31 PM
Don't know without seeing it
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Oct 2014 06:31 PM
Nevermind, I thought you were dealing with jumping
Report Abuse
markaaron is not online. markaaron
Joined: 21 Feb 2011
Total Posts: 455
31 Oct 2014 09:33 PM
just so you know I posted one of the best animation scripts out there
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