I’m trying to change all the default animations to mine and so far I’ve changed the idle and walk animation but testing the game, going into the player’s character and copy pasting the animate script into StartCharacterScripts. So I realized my animation would look better if I removed the transition between the idle and walk animation when one of them started or stopped playing. I did some research and found out that what I’m trying to change is called fade out. My issue is that I don’t know how I can change the fade out on roblox’s Animate script. I appreciate any help.
You can change an animation FadeTime by changing the first parameter in the :play() function:
Animation:Play(0.000000001)
set the parameter to a number close to zero but not zero as it could bug out
Yea i know how to do it. My issue is that I don’t know where specifically on the player’s Animate script is the “Animation:Play()” part specifically
If you don’t have the Animate script:
- Click Play
- Copy your player’s Character’s “Animate” script
- Paste the script into “StarterCharacterScripts”
Then edit the script:
- Open the script
- Change line 591 to
Blockquote playAnimation(“walk”, 0.000000001, Humanoid)
- Change line 596 to
Blockquote playAnimation(“idle”, 0.000000001, Humanoid)
Test and see if that is the result you wanted, if not, change a few more parameters:
- Click Ctrl + F
- Search for “playAnimation”
- It should show 15 matches, 14 of which is calling the “playAnimation” function, and the last one is the function itself
- Look for the animation you want to adjust by: looking at the first parameter of the function, it will tell you the animation name
- If you want to change the transition time of that animation, change the 2nd parameter to the custom time you would like
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.