Animation not playing corretly

Hello everyone,

I am not experienced when it comes to animation and I came across this problem with my slide animation

This is how the animation should look like:

And this is how it came out:

I don’t really think it has to do with the script but here it is just in case

local Player = game:GetService("Players").LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Remote = ReplicatedStorage.Events.Remote.MovementRemote
local SlideAnimation = ReplicatedStorage.Assets.Animations.Slide
local playing  = false

Remote.OnServerEvent:Connect(function(player)
	print(" play")
	local Animator = Instance.new("Animator")
	Animator.Parent = player.Character:FindFirstChild("Humanoid")
	
	if playing == false  then
		Animator:LoadAnimation(SlideAnimation):Play()
		
		playing = true
		task.wait(1)
		
		playing = false
		
		Animator:LoadAnimation(SlideAnimation):Stop()
	elseif playing == true then
		return
	end
end)
1 Like

I’ve never really played around with R15 animations, and I don’t know if this makes much of a difference, but I think the reason why your animation comes out incorrectly is due to the animation being made with an R6 rig. Try switching the game to R6 only in game settings and see if it makes a difference.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.