My summersault animation works properly in Studio, but not in the game client

I set a animation priority too, so I don’t know why this is happening.
robloxapp-20220307-1047448.wmv (1.7 MB)
robloxapp-20220307-1049196.wmv (1.6 MB)

Are you using a LocalScript for the Animations, and where are they placed.
Studio runs on your computer (Client) and that’s where animations are placed.
Giving a copy of your script that calls the animation would help a lot here.

It is a Local Script, and here’s the script:

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()

local anim =“Animation”)
anim.AnimationId = “

if key == “e” then
local playAnim = humanoid:LoadAnimation(anim)



1 Like

Try loading the animation before the function, so it doesn’t have to load it everytime you press the E key.
Also mouse.KeyDown has been deprecated and superseded by UserInputService.