I have got a game coming along and i need help making a script where your player frontflips/backflips when a key is pressed i would like the keys to be q and e
There should be a plugin called "Build Rig" in your studio. Make an r15 block rig (best for animating) Animate that with the "Animation Editor" Script. When done, export it, and name it. Copy the id for the animation. Then once you keybind a script to "q" and "e". Go to properties, and paste the animation ID into there.
Write this into your script:
local humanoid = game.Players:FindFirstChild("Humanoid") local animation = instance.new("Animation") animation.Parent = humanoid.Parent animation.AnimationId = "Paste your id here" animation.Name = "Animation" local animate = humanoid.Parent.Animation:LoadAnimation(humanoid.Parent.Animation) (put your keybinding script here) animate:Play()
Closed as Not Constructive by User#29913, moo1210, ScuffedAI, and Leamir
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?