how would i make an animation where I press x I do an animation i have an animation in my profile(made by me) but it only plays when I jump(because I changed roblox default animation)
Well... easy. You can insert a LocalScript
on StarterPlayer > StarterPlayerScripts
, which carry the scripts to be copied to PlayerScripts
folder, something like StarterGui
.
On that script, you should do these commands:
1: Get UserInputService service.
2: Change the JumpAnimationID to your own ID using LocalPlayer.Character
3: Use UserInputService to just fire the anim jump when you press both X and Space Bar. Use :LoadAnimation()
, and you're ready to rock!
PS: If you'd like a script, please use common sense and follow the rules