Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you replace default (jump, walk, run, roll, slide) with your custom animation you published?

Ok, so i tried to figure it out. I was using youtube on how to customize your jump. I made an animation, published it, and got the script. The script i put is down below Game.Player.PlayersAdded:connect(function(player) while not player.Character do wait ()end local character=player.Character local animateScript=character.Animate animateScript.fall.FallAnim.AnimationId="http://www.roblox.com/asset/7id=743991687" end)

ok so the http://www.roblox.com/asset/7id=743991687. This isnt my animation url, just using it as an example. When i go to my library, then animation, then click the animation i published and created, it should be like the url above, except the id should be something else. However, when i clicked on my animation the url was "https://www.roblox.com/library/743991687/Parkour-Front-Flip" I tried inserting this url except of the one above but it doesnt work. Please Help

2 comments

0

Make sure to format Lua code in the editor with the Lua symbol

0

You can either replace the ids in the character or overwrite them by placing new content in the StarterCharacterScripts.

1 answer

You don't use the entire url, as the Lua script won't recognise what this is. Instead, you need to copy and paste the ID part of the URL (the ID part is highlighted in bold. https://www.roblox.com/library/**743991687**/Parkour-Front-Flip)

Once you have copy pasted the ID into the correct place, make sure to add the two " "s and you should be done!

2 comments

0

(if this answer helped you, please press the 'Answered' button below! Thanks)

0

Ok ill try it. THANKS XD

This discussion is preserved as it was. New answers, comments, and votes are closed.