Animation not playing

Alright, what about the script itself?

What script?‍‍‍‍

The one that changes the booleans

game.ReplicatedStorage.Hit.OnServerEvent:Connect(function(plr, class)
	if class == 1 then
		plr.Character.IsAttacking.Value = true
		game.ReplicatedStorage.Hit.OnServerEvent:Wait()
		plr.Character.IsAttacking.Value = false
	end
end)

Do you know if it might be something with my animation?

No I don’t think that needs fixing, unless its breaking your animation