Player animations work for 15%

I want the Animation of the player’s super attack to be played the same way as in the animator

The fact is that the animation of the super Attack works very poorly

How it works in the Animator:
robloxapp-20240725-0543200.wmv (208,1 КБ)

How it works in the game:
robloxapp-20240725-0544157.wmv (137,8 КБ)

I tried to stop the other animation before doing the super attack animation

local Anim_1 = script.Parent.Animations:WaitForChild("Idle")
local Anim_2 = script.Parent.Animations:WaitForChild("Attack")
local Anim_3 = script.Parent.Animations:WaitForChild("Blocking by a metal pipe")
local Anim_4 = script.Parent.Animations:WaitForChild("Blocking by a metal pipe 2")
local Anim_5 = script.Parent.Animations:WaitForChild("S_Ya_Xs")
local Tool = script.Parent
local Plr = script.Parent.Parent.Parent
local P_Name = script.Parent.Parent.Parent.Name
local Char = game:GetService("Workspace")[P_Name]
local s = Char.Humanoid:LoadAnimation(Anim_1)
local sksl = Char.Humanoid:LoadAnimation(Anim_2)
local S_Attack = Char.Humanoid:LoadAnimation(Anim_5)

local Events = script.Parent.Events

local Config = script.Parent.Configuration

local CoolDown = false
local CoolDown_Time = Config:GetAttribute("Cool_Down_Time")

print(CoolDown_Time)

sksl.Looped = true
local First =  true

print(Char.Name.. " Tool Owner")

Tool.Equipped:Connect(function()
	
	
	local Arm = Char:FindFirstChild("Right Arm")
	
	Tool.Handler.CFrame = Arm.CFrame
	
	if First == true then
		First = false
	Tool.Handler.Orientation = Vector3.new(-2.196, 0, 0)
	end
	
	Tool.Handler.Motor6D.Part0 = Tool.Handler
	Tool.Handler.Motor6D.Part1 = Arm
	
	s.Looped = true
	s:Play()
	
end)

Tool.Activated:Connect(function()
	
	if CoolDown == false then
		
		CoolDown = true
		
			sksl:Play()
		s:Stop()
		task.wait(CoolDown_Time)
	
		s:Play()
	
		CoolDown = false
		
	else
		
		warn("CoolDown!")
	
	end
end)

Events.Play_Super_attack_Anim.OnServerEvent:Connect(function()
	
	s:Stop()
	S_Attack:Play()
	
end)
1 Like

.wmv its video file

I just don’t have a normal screen recording app.

I understood what the problem was, I had to put it up Animation Priority From core to action

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